Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Being able to pattern match in typescript
Go to Latest
variable dictionary
import { dictionary } from "https://deno.land/x/ts_matches@v5.2.0/src/parsers/dictionary-parser.ts";

type

<ParserSets extends [Parser<unknown, unknown>, Parser<unknown, unknown>][]>(...parsers: ParserSets) => Parser<unknown, _<DictionaryShaped<[...ParserSets]>>>