repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-worker_threads
/
@types
/
fastify
/
index.d.ts
diff --git
a/examples/typescript/http-server-pool/fastify-worker_threads/@types/fastify/index.d.ts
b/examples/typescript/http-server-pool/fastify-worker_threads/@types/fastify/index.d.ts
index 0de82629cd2d369a64d7c9985746ac9cbdd1e3e9..93fb69eb806a7a112aebe7a72a9fbc2ef1df49f3 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-worker_threads/@types/fastify/index.d.ts
+++ b/
examples/typescript/http-server-pool/fastify-worker_threads/@types/fastify/index.d.ts
@@
-1,7
+1,7
@@
import type { TransferListItem } from 'node:worker_threads'
import type * as fastify from 'fastify'
import type { TransferListItem } from 'node:worker_threads'
import type * as fastify from 'fastify'
-import
{ type
DynamicThreadPool } from 'poolifier'
-import
{ type WorkerData, type
WorkerResponse } from '../../src/types.ts'
+import
type {
DynamicThreadPool } from 'poolifier'
+import
type { WorkerData,
WorkerResponse } from '../../src/types.ts'
declare module 'fastify' {
export interface FastifyInstance extends fastify.FastifyInstance {
declare module 'fastify' {
export interface FastifyInstance extends fastify.FastifyInstance {
@@
-11,6
+11,5
@@
declare module 'fastify' {
name?: string,
transferList?: TransferListItem[]
) => Promise<WorkerResponse>
name?: string,
transferList?: TransferListItem[]
) => Promise<WorkerResponse>
- listTaskFunctions: () => string[]
}
}
}
}