diff --git a/types/index.d.ts b/types/index.d.ts index c3fd134..16e634b 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,6 +1,6 @@ /// -import { IncomingMessage } from 'http' +import { IncomingMessage } from 'node:http' type FastifyProxyAddr = typeof proxyaddr diff --git a/types/index.test-d.ts b/types/index.test-d.ts index ebdce35..d492029 100644 --- a/types/index.test-d.ts +++ b/types/index.test-d.ts @@ -1,5 +1,5 @@ import proxyaddr from '..' -import { createServer } from 'http' +import { createServer } from 'node:http' import { expectType } from 'tsd' createServer(req => {