Closed
Description
type extended = {...t, x:string}
as an abbreviation instead of repeating the field of the type definition of t
.
- type extension Extensible records #5715
- type coercion Explore type coercion for records. #5721
- possibly more relaxed spread operator https://forum.rescript-lang.org/t/record-with-optional-fields-introduce-multiple-spread-oppty/3880