i am doing a library and the library will supposed to have a multithread as it decodes some buffer and is slow. however in typescript, to specify a webworker, you need to specif