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
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
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