From e109417d869b3d00034e3c13491e73053c3efcd2 Mon Sep 17 00:00:00 2001 From: Yamboy1 Date: Thu, 14 Nov 2019 06:55:53 +1300 Subject: [PATCH] Update typo in src --- src/wait.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wait.ts b/src/wait.ts index 9eff51f..cebe7b9 100644 --- a/src/wait.ts +++ b/src/wait.ts @@ -1,10 +1,10 @@ export function wait(milliseconds: number) { return new Promise((resolve) => { if (isNaN(milliseconds)) { - throw new Error('milleseconds not a number'); + throw new Error('milliseconds not a number'); } setTimeout(() => resolve("done!"), milliseconds) }); } - \ No newline at end of file +