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