Infer the TypeScript type that a Pattern matches.
const shape = M.splitRecord({ name: M.string(), age: M.nat() });type Person = M.infer<typeof shape>;// { name: string; age: bigint } Copy
const shape = M.splitRecord({ name: M.string(), age: M.nat() });type Person = M.infer<typeof shape>;// { name: string; age: bigint }
Infer the TypeScript type that a Pattern matches.