Update examples/typescript/pool.ts
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 8 Sep 2023 12:42:00 +0000 (14:42 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 12:42:00 +0000 (14:42 +0200)
examples/typescript/pool.ts

index ab6d4f268b38a76520cf15b919948eae3e9eb924..f85496434c2516eea46c7b5f1cde937565a2985d 100644 (file)
@@ -1,5 +1,6 @@
 import { dirname, extname, join } from 'path'
 import { fileURLToPath } from 'url'
+import type { MyData, MyResponse } from './worker'
 import {
   DynamicThreadPool,
   FixedThreadPool,