From cd5411ac066c6f3b59cb599e9e635211fdacdac7 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 15 Dec 2024 16:13:29 +0000 Subject: [PATCH] types: use `node:` prefix for builtins --- types/plugin.test-d.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin.test-d.mts b/types/plugin.test-d.mts index fcc68e2..9239cfd 100644 --- a/types/plugin.test-d.mts +++ b/types/plugin.test-d.mts @@ -2,7 +2,7 @@ import { Type, FastifyPluginAsyncTypebox, FastifyPluginCallbackTypebox } from '. import { expectType } from 'tsd' import Fastify, { FastifyPluginAsync, FastifyPluginCallback } from 'fastify' import fp from 'fastify-plugin' -import { Http2Server } from 'http2' +import { Http2Server } from 'node:http2' // Ensure the defaults of FastifyPluginAsyncTypebox are the same as FastifyPluginAsync export const pluginAsyncDefaults: FastifyPluginAsync = async (fastify, options) => {