2023-06-24 04:13:03 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2023-07-02 22:18:30 +00:00
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [FetchLike](./firefish-js.api.fetchlike.md)
|
2023-06-24 04:13:03 +00:00
|
|
|
|
|
|
|
## api.FetchLike type
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare type FetchLike = (
|
|
|
|
input: string,
|
|
|
|
init?: {
|
|
|
|
method?: string;
|
|
|
|
body?: string;
|
|
|
|
credentials?: RequestCredentials;
|
|
|
|
cache?: RequestCache;
|
|
|
|
},
|
|
|
|
) => Promise<{
|
|
|
|
status: number;
|
|
|
|
json(): Promise<any>;
|
|
|
|
}>;
|
|
|
|
```
|