If I have this:
class A {
a: string
}
Then TypeScript will tell me that Property 'a' has no initializer and is not definitely assigned in the constructor.
Quoting the key mutes the error:
class A {
'a': string
}
Playground
In my understanding there is no difference between quoting and not. So why is it the case?