mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
This reverts commit ce9e109a99.
AFAICT, the `uuid` module never exported `v5`. See
https://stackoverflow.com/questions/52048772 .
22 lines
748 B
TypeScript
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;
|