mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 06:40:35 +08:00
* update uuid to v3 - remove the parse/unparse functions - allow importing 'uuid/v1' and 'uuid/v4' directly - keep v2 typings as 'uuid-v2' * Fix v2 folder naming
17 lines
461 B
TypeScript
17 lines
461 B
TypeScript
// Type definitions for uuid 3.0
|
|
// Project: https://github.com/defunctzombie/node-uuid
|
|
// Definitions by: Oliver Hoffmann <https://github.com/iamolivinius/>
|
|
// Felipe Ochoa <https://github.com/felipeochoa/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
import { v1, v4 } from './interfaces';
|
|
|
|
interface UuidStatic {
|
|
v1: v1;
|
|
v4: v4;
|
|
}
|
|
|
|
declare const uuid: UuidStatic & v4;
|
|
export = uuid;
|