Skip to content

Commit

Permalink
types: use node: prefix for builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 15, 2024
1 parent 6168cf0 commit 3b776c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="node" />

import { IncomingMessage } from 'http'
import { IncomingMessage } from 'node:http'

type FastifyProxyAddr = typeof proxyaddr

Expand Down
2 changes: 1 addition & 1 deletion types/index.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import proxyaddr from '..'
import { createServer } from 'http'
import { createServer } from 'node:http'
import { expectType } from 'tsd'

createServer(req => {
Expand Down

0 comments on commit 3b776c4

Please sign in to comment.