All my files is written in ES. But when I run, new Worker('test.ts'), I got cannot import out of module.
I know web worker can set options to {type: 'module'} to run ES code. How we can do it on worker_thread?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)