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?
3 replies