From dc35149ca6f60869e2cdf3959176d747d54660f6 Mon Sep 17 00:00:00 2001 From: Grigory Date: Thu, 13 Jun 2024 14:16:39 +0500 Subject: [PATCH] style: remove semicolons --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index d49b31df3..a00102d32 100644 --- a/src/index.ts +++ b/src/index.ts @@ -244,10 +244,10 @@ export async function build(_options: Options) { }) worker.on('message', (data) => { if (data === 'error') { - worker.terminate(); + worker.terminate() reject(new Error('error occured in dts build')) } else if (data === 'success') { - worker.terminate(); + worker.terminate() resolve() } else { const { type, text } = data