Files
DefinitelyTyped/types/uuid/index.d.ts
Felipe 7bb204fdb5 update uuid to v3 (#16264)
* 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
2017-06-01 07:53:41 -07:00

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;