ERROR in ...component.ts (..,..): A computed property name in a type literal must directly refer to a built- in symbol. ...: Cannot find name 'any'.
I'm looking forward an object which contains strings which have other string, i.e:
{ abc: 'xyz' }
What I did:
foo: { [string]: string };
An identifying name on the computed value is required:
foo: { [bar: string]: string };
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With