mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
508 B
TypeScript
14 lines
508 B
TypeScript
// Type definitions for uniqid 4.1
|
|
// Project: http://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;
|
|
|
|
// let x -> Workaround for ES6 imports
|
|
// Combined type because of assigning to function object in original module
|
|
declare let x: typeof f & { process: typeof f } & { time: typeof f };
|
|
|
|
export = x;
|