docs: fix type error in HttpClient sample
This commit is contained in:
parent
7955cacec4
commit
8e56c3cb30
|
@ -73,7 +73,7 @@ You can, however, tell `HttpClient` what type the response will be, which is rec
|
||||||
To do so, first you define an interface with the correct shape:
|
To do so, first you define an interface with the correct shape:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
interface DevelopersResponse {
|
interface ItemsResponse {
|
||||||
results: string[];
|
results: string[];
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue