build: switch default to ESM
[poolifier.git] / examples / typescript / pool.ts
index de49c93ad6f8c73bc3cfaa680a78134cdd8daa56..57898d98a9d53a8c89c3d774847e9cae694a53fe 100644 (file)
@@ -1,6 +1,6 @@
 import { dirname, extname, join } from 'node:path'
 import { fileURLToPath } from 'node:url'
-import type { MyData, MyResponse } from './worker'
+import type { MyData, MyResponse } from './worker.js'
 import {
   DynamicThreadPool,
   FixedThreadPool,