mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #21456 from TheColorRed/patch-1
deepmerge does not exist on window
This commit is contained in:
Vendored
+7
@@ -18,3 +18,10 @@ declare namespace deepmerge {
|
||||
|
||||
function all<T>(objects: Array<Partial<T>>, options?: Options): T;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
deepmerge<T>(x: Partial<T>, y: Partial<T>, options?: deepmerge.Options): T;
|
||||
deepmerge<T1, T2>(x: T1, y: T2, options?: deepmerge.Options): T1 & T2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user