mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
[@types/deep-extend] Support es5/es6 import (#12263)
This commit is contained in:
committed by
Masahiro Wakame
parent
8c27b09b11
commit
f8192904f7
@@ -1,5 +1,5 @@
|
||||
|
||||
import deepExtend = require('deep-extend');
|
||||
import * as deepExtend from 'deep-extend';
|
||||
var obj1 = {
|
||||
a: 1,
|
||||
b: 2,
|
||||
|
||||
Vendored
+1
@@ -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;
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
"index.d.ts",
|
||||
"deep-extend-tests.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user