Post

Records are powerful, but you need explicit definitions for them. We're experimenting with allowing inline record definitions nested inside a record type definition. This will make some of the common use cases for records more ergonomic.

It also has the added benefit of making more TypeScript code copy/pasteable to ReScript without requiring breaking each type shape out into its own type definition.

0 reposts5 likes

No replies yet.