ts-options-defaults
Advanced tools
Comparing version 0.0.3-2 to 0.0.3-3
@@ -39,3 +39,3 @@ "use strict"; | ||
if (typeof value === 'function') { | ||
object[key] = value; | ||
object[key] = value.bind(object); | ||
} | ||
@@ -42,0 +42,0 @@ }); |
{ | ||
"name": "ts-options-defaults", | ||
"version": "0.0.3-2", | ||
"version": "0.0.3-3", | ||
"license": "GPL-3.0", | ||
@@ -16,5 +16,5 @@ "author": "Artur Kurowski <radarsu@gmail.com>", | ||
"ts-essentials": "^7.0.0", | ||
"ts-import": "0.0.8", | ||
"ts-import": "0.0.9-6", | ||
"typescript": "^3.9.5" | ||
} | ||
} |
@@ -12,3 +12,3 @@ export const merge = (object: any, ...sources: any[]) => { | ||
if (typeof value === 'function') { | ||
object[key] = value; | ||
object[key] = value.bind(object); | ||
} | ||
@@ -15,0 +15,0 @@ }); |
9270