Thank you for filing! Check list:
The following rescript code
@genType
type t = {
\"Illegal-field name": int,
}
results in this:
export type record = {
readonly "\"Illegal-field name"": number
};
The extra trailing " makes this invalid syntax, and the leading \" doesn't match the generated javascript