forked from naskya/firefish
23 lines
519 B
Markdown
23 lines
519 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [FetchLike](./firefish-js.api.fetchlike.md)
|
||
|
|
||
|
## 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>;
|
||
|
}>;
|
||
|
```
|