aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/async-helpers.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-12 03:59:35 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-12 08:29:35 +0530
commit53937fd58023ef800bd8ca1cd2b6d2d7bc891834 (patch)
treeea70778761addfaba1732dcb515dabd9f37f09ea /src/helpers/async-helpers.ts
parentUse forked version of 'node-mac-permissions' till the PR gets merged (#2216) (diff)
downloadferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.gz
ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.zst
ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.zip
chore: update eslint deps to latest (#2213)
- update eslint deps to latest - disable new react/function-component-definition rule - fix/disable newly reported issues
Diffstat (limited to 'src/helpers/async-helpers.ts')
-rw-r--r--src/helpers/async-helpers.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/async-helpers.ts b/src/helpers/async-helpers.ts
index 6b1f24b5a..56051b065 100644
--- a/src/helpers/async-helpers.ts
+++ b/src/helpers/async-helpers.ts
@@ -1,3 +1,4 @@
1export function sleep(ms: number = 0) { 1export function sleep(ms: number = 0) {
2 // eslint-disable-next-line no-promise-executor-return
2 return new Promise(r => setTimeout(r, ms)); 3 return new Promise(r => setTimeout(r, ms));
3} 4}