threads.js icon indicating copy to clipboard operation
threads.js copied to clipboard

Typescript Errors when using tsc command

Open Comkiled opened this issue 4 years ago • 1 comments

Hi,

When I use the tsc command in my project I always get Typescript Errors which are related to threads.js. It's about the file in dist/types/master.d.ts, more precisely line 22 of the file. I attached a screenshot showing the Errors. I am not that deep into Typescript, that's why I do not really understand, what exactly is causing the error and how to fix it.

image

Comkiled avatar May 17 '21 13:05 Comkiled

Hey @Comkiled. Sorry for the late reply.

Are you using an up-to-date version of TypeScript. I also just released a new patched version of threads.js as there were issues with TypeScript 4.3. Using one of the latest TS + the latest threads.js version should work.

andywer avatar Jun 03 '21 20:06 andywer