build: switch default to ESM
[poolifier.git] / src / pools / worker.ts
index 9c8b77fc623b68ed2a25aed883531dfa5e25cf70..c7a9dcb3cecba710cf62a345f4efd9f029d2f2fb 100644 (file)
@@ -1,7 +1,7 @@
 import type { MessageChannel, WorkerOptions } from 'node:worker_threads'
 import type { EventEmitter } from 'node:events'
-import type { CircularArray } from '../circular-array'
-import type { Task } from '../utility-types'
+import type { CircularArray } from '../circular-array.js'
+import type { Task } from '../utility-types.js'
 
 /**
  * Callback invoked when the worker has started successfully.