add prettier

This commit is contained in:
Harvey Zack committed 2022-11-04 20:55:17 +08:00
1 parent 4092b51c4e
commit 1593a4a528
95 files changed
+25431 -25282

No files matched your search

@@ -1,5 +1,5 @@
export function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
return new Promise((resolve) => setTimeout(resolve, ms));
}
export function runPromisesInSeries(ps) {
@@ -14,4 +14,4 @@ export function getFileName(name) {
export function clamp(num, a, b) {
return Math.max(Math.min(num, Math.max(a, b)), Math.min(a, b));
}
}