@pleisto/active-support
    Preparing search index...

    Type Alias Cons<H, T>

    Cons: (h: H, ...t: T) => void extends (...r: infer R) => void ? R : never

    Prepend tuple.

    Type Parameters

    • H
    • T extends readonly any[]
    const const: Cons<1, [2, 3, 4]> = [1, 2, 3, 4]