Closed mmkal closed 6 years ago
@gcanti @giogonzo
For interfaces with optional properties, use either partialCombinator (for all optional) or intersectionCombinator (for mixed) to allow for true optional properties, which don't require explicitly assigning undefined.
Addresses https://github.com/gcanti/io-ts-codegen/issues/26. This can likely be simplified or reverted if a solution for https://github.com/gcanti/io-ts/issues/140 is found.
Thanks @mmkal, released
@gcanti @giogonzo
For interfaces with optional properties, use either partialCombinator (for all optional) or intersectionCombinator (for mixed) to allow for true optional properties, which don't require explicitly assigning undefined.
Addresses https://github.com/gcanti/io-ts-codegen/issues/26. This can likely be simplified or reverted if a solution for https://github.com/gcanti/io-ts/issues/140 is found.