fix(defaults): Limit function definition to module scope (#42261)

This commit is contained in:
Christopher Carman
2020-02-20 11:27:03 -08:00
committed by GitHub
parent 8f61ed7121
commit fcd2e522f6

View File

@@ -3,8 +3,8 @@
// Definitions by: Ibtihel CHNAB <https://github.com/IbtihelCHNAB>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function defaults(options: any, defaultOptions: any): any;
declare module "defaults" {
function defaults(options: any, defaultOptions: any): any;
export = defaults;
}