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
v3.45.0
- Only support bs-platform
8.2.0
or newer. - Give a warning when attempting to export a GADT type (unless it's already an opaque export), and export it as an opaque type.
- When not specified in
gentypeconfig
, read themodule
type frompackage-specs
. - Translate object types directly, whether or not they are wrapped in
Js.t
, in preparation for a compiler upgrade. Preserve a couple of existing uses which still map to the empty object:type t1<'a> = Js.t<'a>
,type t2 = Js.t<Obj.t>
. - Use
import
instead ofrequire
in TS back-end, unless there are circular dependencies. In both TS and Flow, circular dependencies can be avoided by not exporting anything in a file that imports a value/component. - Support future npm package
rescript
version9.1.0
and above. - Add support for the upcoming numeric poly variants (see rescript-lang/syntax#340).
v3.44.0
v3.43.0
- Add
:
before location in warnings, so the correct line is picked up by vscocde terminal. - Allow
'
in the name of an exported type without generating invalid JS code. - Support
bs-platform
version9.0.0
(es6 library modules now use.mjs
extension). - [experimental] Extend experimental option to specify the full extension of generated files (see #497).