mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 09:10:09 +00:00
Merge pull request #19457 from idchlife/patch-1
Parameter is not required
This commit is contained in:
8
types/uniqid/index.d.ts
vendored
8
types/uniqid/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user