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

Generate type imports when possible for .d.ts #778

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

timostamm
Copy link
Member

When generating with target "dts", the resulting .d.ts files sometimes import message classes or enumerations as values, even though they are only used as types.

This PR makes sure we generate type imports when possible.

When generating with target "dts", the resulting .d.ts files sometimes import message classes or enumerations as values, even though they are only used as types.

This PR makes sure we generate type imports when possible.
@timostamm timostamm merged commit 5cd5156 into main Apr 10, 2024
6 checks passed
@timostamm timostamm deleted the tstamm/fix-dts-type-imports branch April 10, 2024 08:55
timostamm added a commit that referenced this pull request Apr 10, 2024
@timostamm timostamm mentioned this pull request Apr 22, 2024
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