[@types/deep-extend] Support es5/es6 import (#12263)

This commit is contained in:
Chi Vinh Le
2016-10-28 22:58:34 +09:00
committed by Masahiro Wakame
parent 8c27b09b11
commit f8192904f7
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import deepExtend = require('deep-extend');
import * as deepExtend from 'deep-extend';
var obj1 = {
a: 1,
b: 2,
+1
View File
@@ -11,4 +11,5 @@ declare function deepExtend<T, U>(target: T, source: U): T & U;
declare function deepExtend<T, U, V>(target: T, source1: U, source2: V): T & U & V;
declare function deepExtend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
declare function deepExtend(target: any, ...sources: any[]): any;
declare namespace deepExtend {}
export = deepExtend;
+1 -1
View File
@@ -16,4 +16,4 @@
"index.d.ts",
"deep-extend-tests.ts"
]
}
}