From da61ae6ac0c659639bfcc198ea25605e697b97f0 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Fri, 31 Jan 2025 10:43:09 -0500 Subject: [PATCH] linting --- test/index.test.js | 2 +- types/index.d.cts | 6 +++--- types/index.d.ts | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/index.test.js b/test/index.test.js index e4fc4dc..9dd4d1b 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -52,7 +52,7 @@ test.serial('postMessage', async t => { await sleep(500); t.is(worker.events.length, 2, 'should have received two message responses'); - + const first = worker.events[0]; t.is(first.data[0], 'received onmessage'); t.assert(Math.abs(timestamp - first.data[1]) < 500); diff --git a/types/index.d.cts b/types/index.d.cts index f1c9550..bcff282 100644 --- a/types/index.d.cts +++ b/types/index.d.cts @@ -1,4 +1,4 @@ -type ConstructorOf = { new (...args: any[]): C } +type ConstructorOf = { new (...args: any[]): C }; -declare const _default: ConstructorOf -export default _default +declare const _default: ConstructorOf; +export default _default; diff --git a/types/index.d.ts b/types/index.d.ts index f1c9550..bcff282 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -type ConstructorOf = { new (...args: any[]): C } +type ConstructorOf = { new (...args: any[]): C }; -declare const _default: ConstructorOf -export default _default +declare const _default: ConstructorOf; +export default _default;