arr1: [
{
arr1info: [
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
"foobar"
],
arr1infoheading: "апвапва"
},
{
arr1info: [
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
"foobar"
],
arr1infoheading: "апвапва"
}
]
interface Iarr2Info {[key: string]: string; }
type Info = (Iarr2Info|string)[];
interface Iarr1Info {[key: string]: string|Info; }
let arr1: Iarr1Info[] = [
{
arr1info: [
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
"foobar"
],
arr1infoheading: "апвапва"
},
{
arr1info: [
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
{
arr1infocontent: "апвапва",
arr1infoheading: "апвапва"
},
"foobar"
],
arr1infoheading: "апвапва"
}
];