glimmerjs / glimmer-experimental

A set of experimental high-level APIs built on Glimmer.js
https://glimmerjs.github.io/glimmer-experimental/
58 stars 26 forks source link

Inconsistent TypeScript declarations #72

Closed dfreeman closed 3 years ago

dfreeman commented 4 years ago

I've noticed that @glimmerx/component ships with TypeScript declarations, by virtue of not having a files entry that excludes its index.ts from being published.

@glimmerx/modifier and @glimmerx/helper, on the other hand, exclude the .ts files they have that re-export from their corresponding @glimmer packages.

Is that distinction intentional, or are all the @glimmerx packages meant to include TypeScript support out of the box?

dfreeman commented 3 years ago

I think this has either been resolved or (more likely) I misdiagnosed the original situation. Either way, I don't think the problem I was describing here is actually a problem.