DefinitelyTyped/types/cuid/cuid-tests.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

6 lines
104 B
TypeScript

import cuid = require('cuid');
var cuidResult: string = cuid();
var slugResult: string = cuid.slug();