Closed
Description
TypeScript Version: 3.9.4
Search Terms:
literal type, type inference
Code
const c :'Copyright ©'= "Copyright \251"
Expected behavior:
No error or warning for octal escape sequence
Actual behavior:
Type '"Copyright 251"' is not assignable to type '"Copyright ©"'.
Playground Link:
Playground Link
Related: