mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
cuid: initial commit
This commit is contained in:
5
cuid/cuid-tests.ts
Normal file
5
cuid/cuid-tests.ts
Normal 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
10
cuid/cuid.d.ts
vendored
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user