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

x/ts_matches/src/parsers/shape-parser.ts>MergeAll

Being able to pattern match in typescript
Go to Latest
type alias MergeAll
import { type MergeAll } from "https://deno.land/x/ts_matches@v5.2.0/src/parsers/shape-parser.ts";
definition: T extends ReadonlyArray<infer U> ? ReadonlyArray<MergeAll<U>> : T extends object ? T extends null | undefined | never ? T : _<[k in keyof T]: MergeAll<T[k]>> : T