Skip to content

Commit

Permalink
♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
takker99 committed Sep 24, 2021
1 parent b20439e commit 78eaf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleep.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function sleep(milliseconds: number) {
return new Promise((resolve) => setTimeout(resolve, milliseconds));
return new Promise<void>((resolve) => setTimeout(resolve, milliseconds));
}

0 comments on commit 78eaf55

Please sign in to comment.