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.

2 reposts15 likes

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.