You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this is not valid, as the @as decorator is missing:
We've found a bug for you!
/some/path/SomeFile.res:1:1-36
1 │ type t = {@as("type") type_: string}
2 │
The implementation /some/path/SomeFile.res
does not match the interface js/SomeFile.cmi:
Type declarations do not match:
type t = {type_: string}
is not included in
type t = {type_: string}
/some/path/SomeFile.resi:1:1-24:
Expected declaration
/some/path/SomeFile.res:1:1-36:
Actual declaration
Fields number 1 have different names, type and type_.
(There's another issue here, which is that the error message type t = {type_: string} is not included in type t = {type_: string} is confusing)