import { shape } from "https://deno.land/x/ts_matches@v5.2.0/src/matches.ts";
Type Parameters
Overwrites extends keyof A
Parameters
optionals: Overwrites[]
Returns
Parser<unknown, MergeAll<[K in keyof Omit<A, Overwrites>]: A[K] & [K in keyof Pick<A, Overwrites>]?: A[K]>>
Returns
Parser<unknown, MergeAll<[K in keyof Omit<A, Overwrites>]: A[K] & [K in keyof Omit<Pick<A, Overwrites>, keyof Defaults>]?: A[K] & [K in keyof Pick<Pick<A, Overwrites>, keyof Defaults & Overwrites>]: A[K]>>