mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 22:44:18 +08:00
added uuid v5 to uuidStatic List (#20634)
You was not able to do " import {v5} from 'uuid' ", this will fix it
This commit is contained in:
3
types/uuid/index.d.ts
vendored
3
types/uuid/index.d.ts
vendored
@@ -10,11 +10,12 @@
|
||||
// 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';
|
||||
import { v1, v4, v5 } from './interfaces';
|
||||
|
||||
interface UuidStatic {
|
||||
v1: v1;
|
||||
v4: v4;
|
||||
v5: v5;
|
||||
}
|
||||
|
||||
declare const uuid: UuidStatic & v4;
|
||||
|
||||
Reference in New Issue
Block a user