diff --git a/code/lib/channel-websocket/src/index.ts b/code/lib/channel-websocket/src/index.ts index 597259353470..3738fea4eaa0 100644 --- a/code/lib/channel-websocket/src/index.ts +++ b/code/lib/channel-websocket/src/index.ts @@ -1,12 +1,10 @@ import { global } from '@storybook/global'; import { Channel } from '@storybook/channels'; -import type { ChannelHandler, ChannelTransport } from '@storybook/channels'; +import type { ChannelHandler } from '@storybook/channels'; import { logger } from '@storybook/client-logger'; import { isJSON, parse, stringify } from 'telejson'; import invariant from 'tiny-invariant'; -const { CONFIG_TYPE } = global; - const { WebSocket } = global; type OnError = (message: Event) => void;