UNPKG

hook-fetch

Version:

A lightweight and modern HTTP request library developed based on the native Fetch API of the browser, providing a user-friendly interface similar to Axios and powerful extensibility.

11 lines (10 loc) 503 B
import { HookFetchPlugin } from "../types-DKk321dw.js"; import { SSETextDecoderPluginOptions, sseTextDecoderPlugin } from "../sse-DpKfrPVN.js"; //#region src/plugins/dedupe.d.ts interface DedupePluginOptions {} declare function isDedupeError(error: unknown): boolean; declare function dedupePlugin(_?: DedupePluginOptions): HookFetchPlugin<unknown, { dedupeAble: boolean; }>; //#endregion export { DedupePluginOptions, SSETextDecoderPluginOptions, dedupePlugin, isDedupeError, sseTextDecoderPlugin };