cuid: initial commit

This commit is contained in:
Dave Keen
2015-06-03 15:20:05 +02:00
parent e1182d56cc
commit 1be949cd9c
2 changed files with 15 additions and 0 deletions

5
cuid/cuid-tests.ts Normal file
View File

@@ -0,0 +1,5 @@
///<reference path='cuid.d.ts' />
import cuid = require('cuid')
var result: string = cuid();

10
cuid/cuid.d.ts vendored Normal file
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
}