type alias Object.P.Recordimport { type Object } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts"; const { Record } = Object.P; Create an object filled with A for the fields at the end of Path ExamplesExample 1 Type ParametersPath extends List<Key>Aoptionalmodx extends Modx = ["!", "W"]definition: { !: { R: Record_RR<Path, A>; W: Record_RW<Path, A>; }; ?: { R: Record_OR<Path, A>; W: Record_OW<Path, A>; }; }[modx[0]][modx[1]]