Here is a method I am trying to use:
getFilters(): Observable<Filters[]> {
let filters: Observable<Filters[]> = [
{
property: "Value",
property2: "Value2"
},
{
property: "Value3",
property2: "Value4"
}
return filters;
}
Unfortunately, I encountered this error message:
The type '{Property: string, Property2: string} is not assignable to the type Observable.