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

Omit default type for generic type parameters when re-exporting types #11

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

jeparlefrancais
Copy link
Contributor

@jeparlefrancais jeparlefrancais commented Jan 15, 2025

Closes #8

These changes also make a simple "best effort" at preserving certain default types. For example, built-in types (like string) are preserved.

export type Foo<Key = string> = FooImpl<Key>
  • add entry to the changelog

@jeparlefrancais jeparlefrancais merged commit 78c7f2f into main Jan 15, 2025
4 checks passed
@jeparlefrancais jeparlefrancais deleted the process-generic-default-types branch January 15, 2025 21:41
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.

Omit default generic type value when re-exporting types
1 participant