Skip to main content

Function: usePatch

Const usePatch<T>(url, options?): [(body: T, extraOptions?: AppExtraFetchOptions<T>) => Promise<void>, boolean]

Type parameters

NameType
Tany

Parameters

NameType
urlstring
optionsAppFetchOptions<T>

Returns

[(body: T, extraOptions?: AppExtraFetchOptions<T>) => Promise<void>, boolean]

Defined in

onekijs/packages/onekijs-framework/src/fetch/usePatch.ts:4