Merge pull request #4747 from ccapndave/cuid

cuid: initial commit
This commit is contained in:
Masahiro Wakame
2015-06-27 14:10:19 +09:00
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
///<reference path='cuid.d.ts' />
import cuid = require('cuid')
var result: string = cuid();
+10
View File
@@ -0,0 +1,10 @@
// Type definitions for cuid
// Project: https://github.com/ericelliott/cuid
// Definitions by: Dave Keen <http://www.keendevelopment.ch>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'cuid' {
function cuid(): string;
export = cuid
}