X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2F%40types%2Ffastify%2Findex.d.ts;h=e1a64b1559ca4e9d8dc91ba424f08d0f08299863;hb=c311456387df5a1db5cf9d00be8f3fbc5b24362c;hp=38a4b0fafdffb8e0d3961bc715bb46dc1ca07c71;hpb=ff6cf64964e78aafa95098852ec0472b567f7b1b;p=poolifier.git 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 38a4b0fa..e1a64b15 100644 --- 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,5 +1,8 @@ +import type { TransferListItem } from 'node:worker_threads' + import type * as fastify from 'fastify' -import { type DynamicThreadPool } from 'poolifier' +import type { DynamicThreadPool } from 'poolifier' + import { type ThreadWorkerData, type ThreadWorkerResponse @@ -13,6 +16,5 @@ declare module 'fastify' { name?: string, transferList?: TransferListItem[] ) => Promise - listTaskFunctions: () => string[] } }