Files
DefinitelyTyped/types/deepmerge/index.d.ts
Andy b6c343f2b3 Apply new lint rules to yet more packages (#15548)
* Apply new lint rules to yet more packages

* Fix leaflet lint
2017-03-31 11:01:26 -07:00

18 lines
552 B
TypeScript

// Type definitions for deepmerge 1.3
// Project: https://github.com/KyleAMathews/deepmerge
// Definitions by: marvinscharle <https://github.com/marvinscharle>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = deepmerge;
declare function deepmerge<T>(x: T, y: T, options?: deepmerge.Options<T>): T;
declare namespace deepmerge {
interface Options<T> {
clone?: boolean;
arrayMerge?(destination: T, source: T, options?: Options<T>): T;
}
function all<T>(objects: T[], options?: Options<T>): T;
}