-
哪里可以看到createWorker这个构造函数的参数说明 |
Beta Was this translation helpful? Give feedback.
Answered by
alex8088
Jan 8, 2024
Replies: 1 comment 1 reply
-
declare module '*?nodeWorker' {
import { Worker, WorkerOptions } from 'node:worker_threads'
export default function (options: WorkerOptions): Worker
} 正常IDE都会提示,参数即是 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lllcccwww
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
正常IDE都会提示,参数即是
WorkerOptions