fix(ts): use base type as default produce() return type
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Previously, the draft type was used in anticipation of weird edge cases, but this created a larger problem where `produce()` would return a fully mutable version of the base type.
authored by aleclarson · committed by aleclarson · parent b52b45e · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed