ts-interface-checker icon indicating copy to clipboard operation
ts-interface-checker copied to clipboard

[Feature] Support for Partial<T>

Open mdesousa opened this issue 3 years ago • 0 comments

Although ts-interface-checker does not support generics, it could easily support Partial<T>. 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.

mdesousa avatar Feb 23 '21 21:02 mdesousa