Skip to content
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

Correct type exports #810

Merged
merged 2 commits into from
Jun 25, 2022
Merged

Correct type exports #810

merged 2 commits into from
Jun 25, 2022

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented Jun 25, 2022

Reported in #807

Unfortunately this issue doesn't show up in test builds since our test app doesn't use ts. Will need to consider a TypeScript testing strategy 🤔

Was able to repro the issue by creating ember app and installing ember-cli-typescript.

Corrected type exports by named (rather than default) exporting all public modules. Corrected a few instances where a full module was imported where only its type signature was used.

Also added a missing typesVersions field to package.json.

I'm not very experienced with TypeScript or publishing types but this does fix all issues with the repro I created.

@gilest gilest added the bug label Jun 25, 2022
@gilest gilest merged commit a1686cd into master Jun 25, 2022
@gilest gilest deleted the fix/type-exports branch June 25, 2022 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant