-
Notifications
You must be signed in to change notification settings - Fork 441
@types/webworker
is not being published to npm
#1482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
it gets shipped with typescript, but you can use https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html#supporting-lib-from-node_modules to set it yourself |
Yeah, but there's no npm package for overriding the For the |
Ish, you'd need to ship your own - you could use a locally resolved folder for example I'd recommend re-reading how that TypeScript feature works |
I see, though that's a lot more friction than writing Is there a reason these types aren't published? It seems like they're meant to be published considering there's even a README for the package. |
@Bashamega thank you, it's very helpful |
You are welcome |
I'd like to override the
webworker
lib in my project's TypeScript installation. With other libraries, e.g.dom
, this is possible because thedom.generated.d.ts
file is being published to npm as@types/web
.However, I can't see
webworker.generated.d.ts
being published to any npm packages. In thedeploy
folder there is some infrastrucutre for publishing it as@types/webworker
(e.g. this README), but https://www.npmjs.com/package/@types/webworker doesn't exist and returns a 404.All the other packages published from this repo are in the
packages
array in deploy/createTypesPackages.The text was updated successfully, but these errors were encountered: