Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Being able to pattern match in typescript
Latest
type alias IParser
import { type IParser } from "https://deno.land/x/ts_matches@v5.4.0/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; }