TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
Publish `@types/webworker`?
https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/b7a45db8fbf3b54d47e4af1109efd9f053db1ef1/deploy/createTypesPackages.js#L14-L51
Only shared/serviceworker have the packages but not the dedicated worker.
ref #1482 ?
I did a look through the commits and I don't see a reason why it wasn't generated - there might be debate inside teams ( @sandersn could you maybe search for "@types/webworker" ? ) but otherwise I think it's fine to add.
Maybe I just forgot that one package?
@orta Here's the only comment on Teams, from you on 9 July 2021:
I've set up the rest of the @types/web* packages to the lib-dom-generator. The repo will ship @types/web (DOM + essentials) @types/sharedworker (used by extensions) @types/webworkers ("threads" for JavaScript) @types/serviceworkers (the abstraction PWAs use to redirect HTTP calls) and @types/audioworklets (Audio processing BG threads)
So at the time you said you set it up, at least.
Thanks sire! Yeah, I'd say that's an omission, adding the new package would require someone from the TS team to accept but we should do that
As of now, there is no straightforward way to define standard webworker project using TypeScript-DOM-lib-generator. Considering this repo is the main one to use for typescript projects in general, please consider resolving the outstanding issues asap so we can use @types/webworker (+ @typescript/lib-webworker) as a dependency and have a simple configuration in tsconfig.lib.
Hello @saschanaz Is this issue still open? If yes I will open a pr :)
Please feel free!