Translate char to number in genType
Why
char is an alias of int since #8892, but genType's table of builtin types had no row for it and does not expand the abbreviation, so a char in a genType signature was emitted as the TypeScript type char, which does not exist.
modifiedRepresentation genType's TypeScript type of char
@genTypelet char0 = (x: char) => x
text
Before
After
export const char0: (x:char) => char = CoreJS.char0 as any;export const char0: (x:number) => number = CoreJS.char0 as any;