Skip to main content
Module

x/ts_matches/src/parsers/interfaces.ts>IParser

Being able to pattern match in typescript
Go to Latest
type alias IParser
import { type IParser } from "https://deno.land/x/ts_matches@v5.4.1/src/parsers/interfaces.ts";
definition: { readonly description: Readonly<Description & { }>; parse<C, D>(
this: IParser<A, B>,
a: A,
onParse: OnParse<A, B, C, D>,
): C | D; }