diff --git a/types/index.d.ts b/types/index.d.ts index b04fc49..b244fe4 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -2,7 +2,7 @@ import { IncomingMessage, ServerResponse, Server } from 'http'; import { FastifyRequest, FastifyPluginCallback, RawServerBase, RawServerDefault, RawRequestDefaultExpression, RawReplyDefaultExpression, RequestGenericInterface, ContextConfigDefault, FastifyInstance, FastifySchema, FastifyTypeProvider, FastifyTypeProviderDefault, FastifyBaseLogger } from 'fastify'; import * as fastify from 'fastify'; -import * as WebSocket from 'ws'; +import WebSocket from 'ws'; import { Duplex, DuplexOptions } from 'stream'; import { FastifyReply } from 'fastify/types/reply'; import { RouteGenericInterface } from 'fastify/types/route';