teleproto - v1.230.0
    Preparing search index...

    Type Alias ReadonlyInput<T>

    ReadonlyInput: T extends BigInteger
        ? LongInput
        : T extends { classType: string }
        | Buffer
        | Date
        | Function
            ? T
            : T extends readonly (infer V)[]
                ? ReadonlyArray<ReadonlyInput<V>>
                : T extends object ? { [K in keyof T]: ReadonlyInput<T[K]> } : T

    Accepts readonly vectors and native integers while preserving mutable parameter types.

    Type Parameters

    • T