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

x/ts_matches/src/parsers/shape-parser.ts>ShapeParser#parse

Being able to pattern match in typescript
Go to Latest
method ShapeParser.prototype.parse
import { ShapeParser } from "https://deno.land/x/ts_matches@v5.2.1/src/parsers/shape-parser.ts";

Parameters

a: unknown
onParse: OnParse<A, [key in Key]?: B, C, D>