Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

tuple

import { tuple } from "https://raw.githubusercontent.com/baetheus/fun/main/initializable.ts";

Create an Initializable fixed to a tuple using nested Initializables to create the init values within.

function tuple<T extends AnyInitializable[]>(...initializables: T): Initializable<readonly [K in keyof T]: TypeOf<T[K]>>;
§
tuple<T extends AnyInitializable[]>(...initializables: T): Initializable<readonly [K in keyof T]: TypeOf<T[K]>>
[src]

§Type Parameters

§Parameters

§
...initializables: T optional
[src]

§Return Type

§
Initializable<readonly [K in keyof T]: TypeOf<T[K]>>
[src]