Files

14 lines
509 B
TypeScript

// Type definitions for uniqid 4.1
// 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;
// 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;