augment-vir - v32.2.2
    Preparing search index...

    Type Alias OmitIndexSignature<ObjectType>

    OmitIndexSignature: {
        [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown>
            ? never
            : KeyType]: ObjectType[KeyType]
    }

    Omit any index signatures from the given object type, leaving only explicitly defined properties. This is the counterpart of PickIndexSignature.

    Copied from the OmitIndexSignature type in the type-fest package so that this package's public types do not depend on type-fest (see the note in type-checks.ts).

    Type Parameters

    • ObjectType