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/http-server-pool/express-cluster...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
@types
/
fastify
/
index.d.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts
b/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts
index 3ff88aa2b46b3f6048869bc95dd97d6f160c95b6..018cac59cf6762769e0cc713b687a2463832718f 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts
@@
-1,6
+1,8
@@
import type { TransferListItem } from 'node:worker_threads'
import type { TransferListItem } from 'node:worker_threads'
+
import type * as fastify from 'fastify'
import type { DynamicThreadPool } from 'poolifier'
import type * as fastify from 'fastify'
import type { DynamicThreadPool } from 'poolifier'
+
import {
type ThreadWorkerData,
type ThreadWorkerResponse
import {
type ThreadWorkerData,
type ThreadWorkerResponse
@@
-12,7
+14,7
@@
declare module 'fastify' {
execute: (
data?: ThreadWorkerData,
name?: string,
execute: (
data?: ThreadWorkerData,
name?: string,
- transferList?: TransferListItem[]
+ transferList?:
readonly
TransferListItem[]
) => Promise<ThreadWorkerResponse>
}
}
) => Promise<ThreadWorkerResponse>
}
}