Transferable type error

Should casting to any be the solution?

Is the threads.js type at fault?

Or is a Transferable type for @types/node missing?

I need answers

Run the following to test:

npm i
npm run test

Edit index.ts, cast port1 to any, and see that it works.