mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +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) > [trashposs-js](./trashposs-js.md) > [api](./trashposs-js.api.md) > [FetchLike](./trashposs-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>;
|
|
}>;
|
|
```
|