Typo fix.

Changed import style.
This commit is contained in:
TATTSGROUP\Josh.Graham 2018-09-28 09:48:34 +10:00
parent a7c782972c
commit 4bb0741b07
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -1,4 +1,4 @@
import * as locks from "locks";
import locks = require("locks");
// Mutex
const mutex: locks.Mutex = new locks.Mutex();