iceshrimp/packages/iceshrimp-js/markdown/iceshrimp-js.api.fetchlike.md
2023-07-21 19:33:01 +02:00

523 B

Home > iceshrimp-js > api > FetchLike

api.FetchLike type

Signature:

export declare type FetchLike = (
	input: string,
	init?: {
		method?: string;
		body?: string;
		credentials?: RequestCredentials;
		cache?: RequestCache;
	},
) => Promise<{
	status: number;
	json(): Promise<any>;
}>;