Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Releases: rescript-association/genType

v4.5.0

15 Jul 14:32
Compare
Choose a tag to compare
  • Drop support for "bs-platform".

v4.4.0

27 May 05:45
Compare
Choose a tag to compare
  • 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

25 Oct 06:52
Compare
Choose a tag to compare

4.3.0

  • TypeScript: type children of imported components as React.ReactNode instead of JSX.Element.

v4.2.0

17 Sep 10:11
Compare
Choose a tag to compare
  • 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

02 Jun 12:11
Compare
Choose a tag to compare
  • Add support for external-stdlib in bsconfig.json.
  • Fix issue with exportInterfaces and labeled arguments (see #561).

v4.0.0

26 May 15:09
Compare
Choose a tag to compare
  • Remove support for legacy components.

v3.50.0

13 May 08:30
Compare
Choose a tag to compare
  • Flow: use SyntheticMouseEvent type for onClick.

v3.49.0

13 May 07:00
Compare
Choose a tag to compare
  • 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.

v3.48.0

23 Apr 00:41
Compare
Choose a tag to compare
  • Remove workaround in Flow that turns components into functions when exported.

v3.46.0

14 Apr 00:37
Compare
Choose a tag to compare
  • Add support for different file extensions using the "suffix" configuration from bsconfig.json.
  • Fix issue where let x:t = ... is treated differently in .res syntax. (See #524).