Hello there. I have this little snippet here:
getSomething(): String[] {
return this.http.get(`some url`).pipe(retry(2), catchError(this.handleError))
}
The api endpoint is returning a string array but I get an error saying "Type Obervable<Object> is missing the following properties from type String[] ...."
Why is that? Or how to tell this get request that it is expecting an array not an object?