Closed
Description
Currently we have e.g. in (Core) Map.res:
type t<'k, 'v> = Js.Map.t<'k, 'v>
or in (Core) Null.res:
@unboxed
type t<'a> = Js.Null.t<'a> =
| Value('a)
| @as(null) Null
i.e., the Js
modules are the source of truth.
This should be changed, as Js
should be deprecated.
Two options:
- Invert this to make the Core modules the source of truth, i.e., Js.Map.t would refer to Map.t.
- Create a new module Runtime_types.res, Types.res or similar, collect all the types there and make it the source of truth.
Any opinions @cristianoc @zth @cometkim?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done