Skip to main content
Version: v9.0.0

OptimisticOperationCommitType

Returns the new data of the target. Returning nothing leaves the data as it is. Must be synchronous.


Import
import { OptimisticOperationCommitType } from "@hyper-fetch/core"

Preview​

type OptimisticOperationCommitType<Data,Mutation> = { bivarianceHack: any }[bivarianceHack];