mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 13:09:07 +01:00
23 lines
523 B
Markdown
23 lines
523 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [FetchLike](./iceshrimp-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>;
|
|
}>;
|
|
```
|