mirror of
https://example.com
synced 2024-11-23 10:26:39 +09:00
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>;
|
||
|
}>;
|
||
|
```
|