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

Need support for TypeScript Utility Types. Pick, Omit, Partial... #15

Open
leerenbo opened this issue Sep 10, 2024 · 0 comments
Open

Need support for TypeScript Utility Types. Pick, Omit, Partial... #15

leerenbo opened this issue Sep 10, 2024 · 0 comments

Comments

@leerenbo
Copy link

https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype

I am packaging an antd UI library. The library declaration is relatively strict and uses some utility types. Continuously copying and pasting existing types and making modifications for several properties makes me very frustrated.

Can we not translate Utility Types generic types into a certain type? Instead, directly generate a new Temp definition based on the semantics of generics.

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

No branches or pull requests

1 participant