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

Releases: rescript-association/genType

v4.5.0

Choose a tag to compare

@cristianoc cristianoc released this 15 Jul 14:32
  • Drop support for "bs-platform".

v4.4.0

Choose a tag to compare

@cristianoc cristianoc released this 27 May 05:45
  • 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

Choose a tag to compare

@cristianoc cristianoc released this 25 Oct 06:52

4.3.0

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

v4.2.0

Choose a tag to compare

@cristianoc cristianoc released this 17 Sep 10:11
  • 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

Choose a tag to compare

@ra-bot ra-bot released this 02 Jun 12:11
  • Add support for external-stdlib in bsconfig.json.
  • Fix issue with exportInterfaces and labeled arguments (see #561).

v4.0.0

Choose a tag to compare

@ra-bot ra-bot released this 26 May 15:09
  • Remove support for legacy components.

v3.50.0

Choose a tag to compare

@ra-bot ra-bot released this 13 May 08:30
  • Flow: use SyntheticMouseEvent type for onClick.

v3.49.0

Choose a tag to compare

@ra-bot ra-bot released this 13 May 07:00
  • 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

Choose a tag to compare

@ra-bot ra-bot released this 23 Apr 00:41
  • Remove workaround in Flow that turns components into functions when exported.

v3.46.0

Choose a tag to compare

@ra-bot ra-bot released this 14 Apr 00:37
  • 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).