DefinitelyTyped/types/uuid/index.d.ts
Matt McCutchen ce631fdaf8 uuid: Revert "added uuid v5 to uuidStatic List (#20634)"
This reverts commit ce9e109a99.

AFAICT, the `uuid` module never exported `v5`.  See
https://stackoverflow.com/questions/52048772 .
2018-08-27 22:12:59 -04:00

22 lines
748 B
TypeScript

// Type definitions for uuid 3.4
// Project: https://github.com/kelektiv/node-uuid
// Definitions by: Oliver Hoffmann <https://github.com/iamolivinius>
// Felipe Ochoa <https://github.com/felipeochoa>
// Chris Barth <https://github.com/cjbarth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
// The version number has been artificially set to 3.4, instead of 3.0,
// because of the existing uuid-js npm types package being at 3.3.28,
// meaning that `npm install @types/uuid` was installing the typings for uuid-js, not this
import { v1, v4 } from './interfaces';
interface UuidStatic {
v1: v1;
v4: v4;
}
declare const uuid: UuidStatic & v4;
export = uuid;