From dfd72dea08e898062464eb2fba0b3c52d6bb6e51 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Thu, 24 Oct 2024 15:49:52 -0400 Subject: [PATCH] fix: another fix for compatability with verbatimModuleSyntax config option --- lib/types.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 8c6790d..4338d1b 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -2,13 +2,7 @@ import type { ErrorObject } from 'serialize-error' import type { EventEmitter } from 'events' import type { Readable } from 'stream' -export enum msgType { - REQUEST = 0, - RESPONSE = 1, - ON = 2, - OFF = 3, - EMIT = 4, -} +import type { msgType } from './constants' export interface test { foo: boolean