Skip to content

Commit 09fb9ea

Browse files
committed
perf: use node: prefix to bypass require.cache call for builtins
1 parent b0fa545 commit 09fb9ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.test-d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// eslint-disable-next-line import-x/no-named-default -- Testing default export
22
import fastifyWebsocket, { WebsocketHandler, fastifyWebsocket as namedFastifyWebsocket, default as defaultFastifyWebsocket, WebSocket } from '..'
3-
import type { IncomingMessage } from 'http'
3+
import type { IncomingMessage } from 'node:http'
44
import fastify, { RouteOptions, FastifyRequest, FastifyInstance, FastifyReply, RequestGenericInterface, FastifyBaseLogger, RawServerDefault, FastifySchema, RawRequestDefaultExpression } from 'fastify'
55
import { expectType } from 'tsd'
66
import { Server } from 'ws'

0 commit comments

Comments
 (0)