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

[Feature] Support for Partial<T> #44

Open
mdesousa opened this issue Feb 23, 2021 · 0 comments
Open

[Feature] Support for Partial<T> #44

mdesousa opened this issue Feb 23, 2021 · 0 comments

Comments

@mdesousa
Copy link

Although ts-interface-checker does not support generics, it could easily support Partial. This is a very common generic type that can be used in APIs that need to store a "draft" version of an object.
The implementation is almost the same as TIface, except that all properties are optional.

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