calckey/packages/firefish-js/markdown/firefish-js.api.fetchlike.md

519 B

Home > firefish-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>;
}>;