SyntaxFix
Write A Post
Hire A Developer
Questions
In my case it was happening because I had not typed a variable.
So I created the Search interface
export interface Search { term: string; ... }
I changed that
searchList = [];
for that and it worked
searchList: Search[];