mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Fix uuid.js definitions. (#10318)
This commit is contained in:
committed by
Masahiro Wakame
parent
bf140ce89a
commit
85ea13a986
@@ -1,9 +1,5 @@
|
||||
/// <reference path="UUID.d.ts" />
|
||||
|
||||
|
||||
import UUID = require("UUID");
|
||||
|
||||
|
||||
const uuid1: string = UUID.generate()
|
||||
const uuid2: UUID.UUID = UUID.genV4()
|
||||
const uuid3: UUID.UUID = UUID.genV1()
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Jason Jarrett <https://github.com/staxmanade/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "UUID" {
|
||||
declare module UUID {
|
||||
|
||||
interface UUID {
|
||||
intFields: UUIDArray<number>;
|
||||
|
||||
Reference in New Issue
Block a user