hoshimi
    Preparing search index...

    Type Alias Inferable<T, K>

    Inferable: T extends { [key in K]: infer R } ? R : unknown

    Create a type that infers the value of a key from an object.

    Type Parameters

    • T
    • K extends string