Hm, did @typescript 4 remove declaring immutable objects?
I'm getting this error, however the playground code works: for
const foo = { a: "b" } as const
Hm, did @typescript 4 remove declaring immutable objects?
I'm getting this error, however the playground code works: for
const foo = { a: "b" } as const