DenoDDeno
Powered by
rezi99R
Denoβ€’2y agoβ€’
2 replies
rezi99

How to publish global types with JSR?

I was trying to republish my npm package with JSR via npm jsr package. It all went well with one exception. I did not find a way how to publish global types (declare namespace). In npm I can declare in package.json what file is responsible for types and then I can pack all generated types + the global definitions. But as JSR does this automatically I haven't find a way how to pass those global types. Is there a way around it now?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

JSR Publish error
cameronmCcameronm / help
12mo ago
How to publish in JSR a library with workspaces?
EGamalielGZEEGamalielGZ / help
2y ago
How to properly publish a JSR package with browser compatibility?
LambdAuroraLLambdAurora / help
2y ago
[SOLVED] Unable to publish to JSR via gh action
cleoCcleo / help
2y ago