UNPKG

@supunlakmal/hooks

Version:

A collection of reusable React hooks

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