X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fpool.ts;h=57898d98a9d53a8c89c3d774847e9cae694a53fe;hb=0e5402633adaf3af5ce1148c9d4364b54c69d64f;hp=002bbbe2fdf7a4d19f5158d45e1b41620e7f2f20;hpb=4c0fcebf5632d2b216cdcb090fa7aac7ced9a04a;p=poolifier.git diff --git a/examples/typescript/pool.ts b/examples/typescript/pool.ts index 002bbbe2..57898d98 100644 --- a/examples/typescript/pool.ts +++ b/examples/typescript/pool.ts @@ -1,11 +1,11 @@ import { dirname, extname, join } from 'node:path' import { fileURLToPath } from 'node:url' +import type { MyData, MyResponse } from './worker.js' import { DynamicThreadPool, FixedThreadPool, availableParallelism } from 'poolifier' -import type { MyData, MyResponse } from './worker' const workerFile = join( dirname(fileURLToPath(import.meta.url)),