Skip to content

Export DTS files so that dependent packages can see the types #1231

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

Closed
wants to merge 1 commit into from
Closed

Export DTS files so that dependent packages can see the types #1231

wants to merge 1 commit into from

Conversation

Mitame
Copy link

@Mitame Mitame commented Jan 18, 2023

I couldn't see a reason why this wasn't set, but setting it means that the types in types/* as exported by the module can be used by other typescript dependencies, i.e. you don't get the "this module doesn't have types" warning.

@Mitame Mitame marked this pull request as draft January 18, 2023 15:01
@Mitame Mitame marked this pull request as ready for review January 18, 2023 15:04
@mbostock
Copy link
Member

These types are still under development and are not ready to be exported yet.

@Mitame
Copy link
Author

Mitame commented Jan 19, 2023

Yeah, now that I've played around with it a bit more with the types on, I see what you mean.

@Mitame Mitame closed this Jan 19, 2023
@mbostock
Copy link
Member

TypeScript declarations were added in #1320 and will be available in the next release of Plot. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants