igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Type Alias WithoutKeys<T, Keys>

    WithoutKeys: [keyof T & Keys] extends [never]
        ? unknown
        : {
            readonly [K in keyof T & Keys]: "this key is reserved or already used by the screen"
        }

    Forbids Keys on T: a handle's members — its actions, its item lists, the framework's own keys and the one data field on its top level (the screen's main identifier) — share one namespace, so an action or a list that repeats a reserved key or another member's key would silently shadow it. defineScreen puts it into the constraints of its actions and item lists, so such a declaration does not type-check, and the error names the key. Data keys are not members: they live under data, so they are never checked against the members.

    Type Parameters

    • T
    • Keys extends PropertyKey