Skip to main content
Module

x/ts_matches/src/parsers/dictionary-parser.ts>DictionaryTuple

Being able to pattern match in typescript
Go to Latest
type alias DictionaryTuple
import { type DictionaryTuple } from "https://deno.land/x/ts_matches@v5.4.1/src/parsers/dictionary-parser.ts";
definition: A extends [Parser<unknown, infer Keys>, Parser<unknown, infer Values>] ? Keys extends string | number ? [key in Keys]: Values : never : never