refactoring to ts

This commit is contained in:
Benjamin Toby
2025-01-15 05:43:18 +01:00
parent 4c45eba321
commit 222d1a4372
11 changed files with 90 additions and 87 deletions
+7
View File
@@ -0,0 +1,7 @@
export default async function delay(time: number = 500) {
return new Promise((resolve) => {
setTimeout(() => {
resolve(true);
}, time);
});
}