Skip to main content
Module

std/async/mod.ts>TupleOf

Deno standard library
Go to Latest
type alias TupleOf
import { type TupleOf } from "https://deno.land/std@0.216.0/async/mod.ts";

Utility for representing n-tuple of. Used in Tuple.

Type Parameters

T
N extends number
R extends unknown[]
definition: R["length"] extends N ? R : TupleOf<T, N, [T, ...R]>