<PanelBarItemModel> {title: 'Address info', content: this.x },
content value should be string and not array of objects
You can write like
public ad: Array<PanelBarItemModel> = [
<PanelBarItemModel> {title: 'Address info', content: `Address- ${this.x[0].adress}, housenum - ${this.x[1].housenum}` },
];
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…