From e35b2135b46bb79a000af0062c753c7ce08e66c1 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Sat, 18 Nov 2023 21:37:49 +0100 Subject: [PATCH] Appease the linter --- src/workers/blurhashWorkerFactory.ts | 5 ++++- src/workers/indexeddbWorkerFactory.ts | 5 ++++- src/workers/playbackWorkerFactory.ts | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/workers/blurhashWorkerFactory.ts b/src/workers/blurhashWorkerFactory.ts index cd5bfe31ff..17e3af2fba 100644 --- a/src/workers/blurhashWorkerFactory.ts +++ b/src/workers/blurhashWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "blurhash.worker" */ new URL("./blurhash.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "blurhash.worker" */ new URL("./blurhash.worker.ts", import.meta.url), + options, + ); } diff --git a/src/workers/indexeddbWorkerFactory.ts b/src/workers/indexeddbWorkerFactory.ts index 1ea3df3c79..46de5cfe3c 100644 --- a/src/workers/indexeddbWorkerFactory.ts +++ b/src/workers/indexeddbWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "indexeddb.worker" */ new URL("./indexeddb.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "indexeddb.worker" */ new URL("./indexeddb.worker.ts", import.meta.url), + options, + ); } diff --git a/src/workers/playbackWorkerFactory.ts b/src/workers/playbackWorkerFactory.ts index 36eaf5e180..091b426ef9 100644 --- a/src/workers/playbackWorkerFactory.ts +++ b/src/workers/playbackWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "playback.worker" */ new URL("./playback.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "playback.worker" */ new URL("./playback.worker.ts", import.meta.url), + options, + ); }