Two big issues were that TypeScript does not include the appropriate types, and figuring out what Webpack incantation to not have it fill the worker with framework that doesn't work in an AudioWorkletGlobalContext, which has no this or self. Other than that, actually using it is pretty simple.
Two big issues were that TypeScript does not include the appropriate types, and figuring out what Webpack incantation to not have it fill the worker with framework that doesn't work in an AudioWorkletGlobalContext, which has no
this
orself
. Other than that, actually using it is pretty simple.