ts-type-forge
    Preparing search index...

    Type Alias GetBrandKeysPart<B>

    GetBrandKeysPart: Pick<B, UnwrapBrandKeys<B>>

    Extracts only the brand keys part of a branded type (without the underlying value).

    Type Parameters

    Object type containing only the brand keys and their boolean values

    type MyBrand = Brand<string, 'validated'>;
    type KeysPart = GetBrandKeysPart<MyBrand>; // { validated: true }