AniLink - v3.0.0
    Preparing search index...

    Variable TRANSPORT_OPTION_KEYSConst

    TRANSPORT_OPTION_KEYS: readonly [
        "timeout",
        "signal",
        "exposeRawAxiosError",
        "retry",
        "paceWithRateLimit",
        "rateLimitFloor",
        "circuitBreaker",
        "retryBudget",
        "maxSockets",
        "maxFreeSockets",
        "onError",
        "onRetry",
        "onRequestStart",
        "onResponse",
        "onPace",
        "onHookError",
        "diagnostics",
        "onCircuitOpen",
        "onCircuitClose",
        "ignorePaceDeadline",
        "allowPartialData",
        "responseCache",
        "bypassResponseCache",
    ] = ...

    Every key of RequestOptions in one array. The credential resolver uses it to allowlist transport fields and reject mistyped credential keys (for example accesstoken instead of accessToken) at client construction instead of silently ignoring them.

    The satisfies clause and the exhaustiveness assertion below bind this list to the interface: adding a field to RequestOptions without adding it here fails tsc, and listing a key the interface does not have fails too. The array cannot drift from the type it enumerates.