fix: fix pool options TS type definition
[poolifier.git] / src / pools / worker.ts
index be677a04fa1022a28b9f4de6f80938e5c94ec322..9a27d8a5056bb7b4b222f2d210803699ab95ad0d 100644 (file)
@@ -1,4 +1,4 @@
-import type { MessageChannel } from 'node:worker_threads'
+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'