TypeWithDefaults
Import
import { TypeWithDefaults } from "@hyper-fetch/core"
Source
Package
Preview
type TypeWithDefaults<Types,Key,Value,ExcludedTypes> = Key extends keyof Types ? Exclude<Types[Key], ExcludedTypes> extends never ? Value : Exclude<Types[Key], ExcludedTypes> : Value;