From 1087ec266e91cb8d35e2a7613917b06dce1dd963 Mon Sep 17 00:00:00 2001 From: Marek Polak Date: Wed, 5 Feb 2025 16:57:39 +0100 Subject: [PATCH] chore(utils): remove createTimeoutPromise --- packages/utils/src/createTimeoutPromise.ts | 2 -- packages/utils/src/index.ts | 1 - 2 files changed, 3 deletions(-) delete mode 100644 packages/utils/src/createTimeoutPromise.ts diff --git a/packages/utils/src/createTimeoutPromise.ts b/packages/utils/src/createTimeoutPromise.ts deleted file mode 100644 index 68eba55d1ac..00000000000 --- a/packages/utils/src/createTimeoutPromise.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const createTimeoutPromise = (timeout: number) => - new Promise(resolve => setTimeout(resolve, timeout)); diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.ts index 32700f6ae1e..42c217bf38d 100644 --- a/packages/utils/src/index.ts +++ b/packages/utils/src/index.ts @@ -19,7 +19,6 @@ export * from './createCooldown'; export * from './createDeferred'; export * from './createDeferredManager'; export * from './createLazy'; -export * from './createTimeoutPromise'; export * from './extractUrlsFromText'; export * from './getLocaleSeparators'; export * from './getMutex';