perf: use node: prefix to bypass caching call for builtins
[poolifier.git] / examples / typescript / http-server-pool / express-cluster / src / worker.ts
index da1066c4a7d997e044af5731596ca08c36a251ed..c5fe74acc122c0c391d419c559d613026ea56354 100644 (file)
@@ -1,5 +1,5 @@
-import type { Server } from 'http'
-import type { AddressInfo } from 'net'
+import type { Server } from 'node:http'
+import type { AddressInfo } from 'node:net'
 import { ClusterWorker } from 'poolifier'
 import express, { type Express, type Request, type Response } from 'express'
 import { type WorkerData, type WorkerResponse } from './types.js'