I have a configuration array in my component like this.
... config: ButtonConfig[]; ... this.config.push(new ButtonConfig(...)); ...
Today, I r
const btn: {[keys: string]: string} = { key: 'value', anotherKey: 'anotherValue' }
This example should help you.