diff --git a/types/index.d.ts b/types/index.d.ts index 9413405..217c838 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import { IncomingMessage } from 'http' +import { IncomingMessage } from 'node:http' type Forwarded = (req: IncomingMessage) => string[] diff --git a/types/index.test-d.ts b/types/index.test-d.ts index 01ffa06..975db6c 100644 --- a/types/index.test-d.ts +++ b/types/index.test-d.ts @@ -1,4 +1,4 @@ -import { IncomingMessage } from 'http' +import { IncomingMessage } from 'node:http' import { expectError, expectType } from 'tsd' import { forwarded } from '..' import forwardedESM from '..'