Merge pull request #19457 from idchlife/patch-1

Parameter is not required
This commit is contained in:
Daniel Rosenwasser
2017-09-06 20:45:53 -07:00
committed by GitHub

View File

@@ -1,10 +1,10 @@
// Type definitions for uniqid 4.1
// Project: https://github.com/adamhalasz/diet-uniqid/
// Definitions by: My Self <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Project: https://github.com/adamhalasz/uniqid
// Definitions by: idchlife <https://github.com/idchlife>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uniqid
// Commmon function signature
declare function f(prefix: string): string;
declare function f(prefix?: string): string;
// let x -> Workaround for ES6 imports
// Combined type because of assigning to function object in original module