repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-cluster...
[poolifier.git]
/
examples
/
typescript
/
http-client-pool
/
src
/
worker.ts
diff --git
a/examples/typescript/http-client-pool/src/worker.ts
b/examples/typescript/http-client-pool/src/worker.ts
index 4dc3a6a9d52cca84a196cdbef6df96704dbdd296..b7c5962914cd0e0e8ab9604182232875c392c771 100644
(file)
--- a/
examples/typescript/http-client-pool/src/worker.ts
+++ b/
examples/typescript/http-client-pool/src/worker.ts
@@
-1,6
+1,5
@@
import { ThreadWorker } from 'poolifier'
import { ThreadWorker } from 'poolifier'
-import nodeFetch from 'node-fetch'
-import {
+import nodeFetch, {
type RequestInfo as NodeFetchRequestInfo,
type ResponseInit as NodeFetchRequestInit
} from 'node-fetch'
type RequestInfo as NodeFetchRequestInfo,
type ResponseInit as NodeFetchRequestInit
} from 'node-fetch'