Update typo in src

This commit is contained in:
Yamboy1
2019-11-14 06:55:53 +13:00
committed by GitHub
parent a12634ced3
commit e109417d86

View File

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