From 85ea13a9863bbe73e9f3c5d0313de822bfd1cc87 Mon Sep 17 00:00:00 2001 From: Eugene Oskin Date: Thu, 28 Jul 2016 21:26:00 +0600 Subject: [PATCH] Fix uuid.js definitions. (#10318) --- uuid/UUID-tests.ts | 4 ---- uuid/UUID.d.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/uuid/UUID-tests.ts b/uuid/UUID-tests.ts index ce40ddee15..990354525c 100644 --- a/uuid/UUID-tests.ts +++ b/uuid/UUID-tests.ts @@ -1,9 +1,5 @@ /// - -import UUID = require("UUID"); - - const uuid1: string = UUID.generate() const uuid2: UUID.UUID = UUID.genV4() const uuid3: UUID.UUID = UUID.genV1() diff --git a/uuid/UUID.d.ts b/uuid/UUID.d.ts index 164cf503c8..4526506120 100644 --- a/uuid/UUID.d.ts +++ b/uuid/UUID.d.ts @@ -3,7 +3,7 @@ // Definitions by: Jason Jarrett // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module "UUID" { +declare module UUID { interface UUID { intFields: UUIDArray;