-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Stop publishing types #217
Comments
Until Ember has an official support policy for SemVer stability for types and this addon adopts all associated recommendations from such a policy, it should not publish types. Fixes emberjs#217
A bit of elaboration: I believe the problem arises in this specific scenario because of how the timeline ended up playing out as regards the |
We recently discovered internally that the fact that this is publishing types can cause apps and addons which use TypeScript to end up very confused, depending on exactly how they end up resolving the
@ember/string
types module graph. If they resolve to the types published here, for Ember 3.8, they will always error.example type error
While it would be nice to fix this simply by fixing the type definitions, we should instead remove the type definitions for now. This will fix the existing issue here, and align us with our current support policy for TypeScript, which is that core Ember addons should not publish types at present: we do not have any stability guarantees around them or their relationship to SemVer!
(I plan to address that with an RFC in the very near future, however, and this repo would be a prime candidate for rolling out support when we do.)
The text was updated successfully, but these errors were encountered: