This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
Releases: rescript-association/genType
Releases · rescript-association/genType
v4.5.0
v4.4.0
- Flow: use explicit suppression codes.
- Fix issue with object key needing quotes in JS when it is not a valid JS id.
v4.3.0
4.3.0
- TypeScript: type children of imported components as
React.ReactNode
instead ofJSX.Element
.
v4.2.0
- Add basic support for inherited type definitions in polymorphic variants e.g.
type color = [red | blue]
. No support for conversion at the moment.
v4.1.0
v4.0.0
v3.50.0
v3.49.0
- Make ReactEvent.Mouse.t be a builtin type corresponding to
MouseEvent
. - When loading a type defined in another file, treat it as if it were annotated with @genType. So if it's needed for an export from the current file, the annotation is already automatically propagated.
- Use
import type
syntax for TypeScript.