Skip to main content
Module

x/froebel/types.ts>PartialList

A strictly typed utility library.
Go to Latest
type alias PartialList
import { type PartialList } from "https://deno.land/x/froebel@v0.23.1/types.ts";

Any list of the n-first elements of T.

Type Parameters

T extends any[]
definition: T extends [infer L, ...infer R] ? [] | [Widen<L>] | [Widen<L>, ...PartialList<R>] : []