UNPKG

@supunlakmal/hooks

Version:

A collection of reusable React hooks

6 lines (5 loc) 224 B
import { FetchState } from './useFetch'; interface PatchOptions extends Omit<RequestInit, 'method'> { } export declare const usePatch: <T>(url: string | null | undefined, options?: PatchOptions) => FetchState<T>; export {};