elkjs icon indicating copy to clipboard operation
elkjs copied to clipboard

node_modules/elkjs/lib/elk-api.d.ts(112,39): error TS2304: Cannot find name 'Worker'

Open igordata opened this issue 3 years ago • 0 comments

image Worker is not defined in the file.

I assume it is import { Worker } from "worker_threads"; and adding this line to the file can solve the problem.

igordata avatar Sep 09 '21 19:09 igordata