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

Add missing export for ts declaration #509

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

mkszepp
Copy link
Contributor

@mkszepp mkszepp commented Aug 4, 2024

In v5 there are missing the typescript declarations.

fix #508

".": "./dist/index.js",
"./*": "./dist/*.js",
".": {
"types": "./declarations/index.d.ts",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not point these at the original src d.ts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in this case we need to add in package.json under files also src or? and so we do publish to much files or?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding src under files would be sufficient (and common for manual .d.ts)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes... is it so correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ye

@NullVoxPopuli NullVoxPopuli merged commit 7574e8a into emberjs:master Aug 5, 2024
15 checks passed
@github-actions github-actions bot mentioned this pull request Aug 5, 2024
@mkszepp mkszepp deleted the fix-ts-declaration branch August 5, 2024 12:08
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.

Typescript declarations are missing in v5
2 participants