DefinitelyTyped/types/cuid/index.d.ts
João Forja 677e0ac511 Changed cuid to a variable and added slug method to it. (#15793)
* Changed cuid to a variable and added slug method to it.

* Reverted change
2017-04-20 11:16:42 -07:00

12 lines
354 B
TypeScript

// Type definitions for cuid v1.3.8
// Project: https://github.com/ericelliott/cuid
// Definitions by: Dave Keen <http://www.keendevelopment.ch>, João Forja <http://discipliningcode.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface CUID {
(): string;
slug: () => string;
}
declare var cuid: CUID;
export = cuid;