From d16cc1f2c59818e53f28b4d6b4d27250331f15d7 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 2 Jul 2022 05:13:38 +0530 Subject: Use default exports instead of named exports --- src/helpers/async-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers/async-helpers.ts') diff --git a/src/helpers/async-helpers.ts b/src/helpers/async-helpers.ts index 6556a0141..de20ea080 100644 --- a/src/helpers/async-helpers.ts +++ b/src/helpers/async-helpers.ts @@ -1,4 +1,4 @@ -export function sleep(ms: number = 0): Promise { +export default function sleep(ms: number = 0): Promise { // eslint-disable-next-line no-promise-executor-return return new Promise(r => setTimeout(r, ms)); } -- cgit v1.2.3-70-g09d2