2023-06-24 13:13:03 +09:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2023-07-03 07:18:30 +09:00
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [FetchLike](./firefish-js.api.fetchlike.md)
|
2023-06-24 13:13:03 +09: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>;
|
|
|
|
}>;
|
|
|
|
```
|