Skip to main content
Module

x/ts_matches/src/parsers/tuple-parser.ts>TupleParserInto

Being able to pattern match in typescript
Latest
type alias TupleParserInto
import { type TupleParserInto } from "https://deno.land/x/ts_matches@v5.4.0/src/parsers/tuple-parser.ts";
definition: T extends [infer A] | readonly [infer A] ? [ParserInto<A>] : T extends [infer A, ...infer B] | readonly [infer A, ...infer B] ? [ParserInto<A>, ...TupleParserInto<B>] : never