From the following:
type t = {@as("type") type_: string}createInterface produces:
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)