mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-13 03:07:05 +00:00
19 lines
264 B
TypeScript
19 lines
264 B
TypeScript
import guid = require('guid');
|
|
|
|
// $ExpectType object
|
|
guid.create();
|
|
|
|
// $ExpectType string
|
|
guid.raw();
|
|
|
|
const newRawGuid = guid.raw();
|
|
|
|
// $ExpectType boolean
|
|
guid.isGuid(newRawGuid);
|
|
|
|
// $ExpectType string
|
|
guid.EMPTY;
|
|
|
|
// $ExpectType object
|
|
guid(guid.create());
|