From 7006c283e897c1b2c142cc193ab345b74f3e2fed Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 15 Dec 2024 16:26:06 +0000 Subject: [PATCH] types: use `node:` prefix for builtins (#312) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 20aed8c..52254a3 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,5 +1,5 @@ /// -import { IncomingMessage, ServerResponse, Server } from 'http'; +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';