We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b009ee2 + 1be949c commit f4b0bacCopy full SHA for f4b0bac
cuid/cuid-tests.ts
@@ -0,0 +1,5 @@
1
+///<reference path='cuid.d.ts' />
2
+
3
+import cuid = require('cuid')
4
5
+var result: string = cuid();
cuid/cuid.d.ts
@@ -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
6
+declare module 'cuid' {
7
+ function cuid(): string;
8
9
+ export = cuid
10
+}
0 commit comments