From 4bb0741b07b8de9bc74276efe2d01569efc81b87 Mon Sep 17 00:00:00 2001 From: "TATTSGROUP\\Josh.Graham" Date: Fri, 28 Sep 2018 09:48:34 +1000 Subject: [PATCH] Typo fix. Changed import style. --- types/locks/index.d.ts | 2 +- types/locks/locks-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/locks/index.d.ts b/types/locks/index.d.ts index 9ab113c5a9..8c112d65d1 100644 --- a/types/locks/index.d.ts +++ b/types/locks/index.d.ts @@ -8,7 +8,7 @@ export class Mutex { /** Construct a new mutex lock. */ constructor(); - /** Flag indicating whther the lock is currently taken. */ + /** Flag indicating whether the lock is currently taken. */ isLocked: boolean; /** Take the lock. */ lock(callback: () => void): void; diff --git a/types/locks/locks-tests.ts b/types/locks/locks-tests.ts index ecac6f59e1..1e7d768a0c 100644 --- a/types/locks/locks-tests.ts +++ b/types/locks/locks-tests.ts @@ -1,4 +1,4 @@ -import * as locks from "locks"; +import locks = require("locks"); // Mutex const mutex: locks.Mutex = new locks.Mutex();