Add ts_optional
to structs, rather than on individual struct fields
#5448
Labels
ts_optional
to structs, rather than on individual struct fields
#5448
Requirements
Is your proposal related to a problem?
We currently have to have
ts_optional
directives on every single struct field. This is verbose and error-prone.Describe the solution you'd like.
ts-rs recently merged a PR adding it at the struct level.
On ts-rs 's next release, use this.
Describe alternatives you've considered.
NA
Additional context
Aleph-Alpha/ts-rs#366
The text was updated successfully, but these errors were encountered: