Skip to main content
Version: v9.0.0

OptimisticDefaultKey

The key compared with a plain match value when no key is given


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

Preview​

type OptimisticDefaultKey<Item> = id extends keyof Item ? id : never;