If you get Error with creating Array of Objects
"Type is not assignable" OR
"Property does not Exist on type 'never'"
Consider creating array with "any" Type
Ex.
filterSelectObj: any[] = []
this.filterSelectObj = [
{
Id: '1',
value: 'randomValue',
type:'randomType',
},
{
Id: '2',
value: 'SecondRandomValue',
type: 'SecondRandomType',
},
];
OR
Creating Object And Adding Values same time is also possible:
this.filterSelectObj.push({Id: this.filterId,
value: this.selectedFilterValue,
type: this.selectedFilterType });