diff --git a/package.json b/package.json index 7283e40..fe7d4a2 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@types/ws": "^8.5.10", "fastify": "^5.0.0", "fastify-tsconfig": "^2.0.0", - "neostandard": "^0.11.9", + "neostandard": "^0.12.0", "split2": "^4.2.0", "tap": "^18.7.1", "tsd": "^0.31.0" diff --git a/types/index.d.ts b/types/index.d.ts index 7327ea5..7726557 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,11 +1,11 @@ /// -import { IncomingMessage, ServerResponse, Server } from 'node: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 { FastifyReply } from 'fastify/types/reply'; -import { preCloseHookHandler, preCloseAsyncHookHandler } from 'fastify/types/hooks'; -import { RouteGenericInterface } from 'fastify/types/route'; +import { IncomingMessage, ServerResponse, Server } from 'node: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 { FastifyReply } from 'fastify/types/reply' +import { preCloseHookHandler, preCloseAsyncHookHandler } from 'fastify/types/hooks' +import { RouteGenericInterface } from 'fastify/types/route' interface WebsocketRouteOptions< RawServer extends RawServerBase = RawServerDefault,