type alias O.P.Readonlyimport { type O } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts"; const { Readonly } = O.P; Make some fields of O readonly at Path (deeply or not) ExamplesExample 1 Type ParametersO extends objectPath extends List<Key>optionaldepth extends Depth = "flat"definition: Path extends unknown ? ReadonlyAt<O, Path, depth> : never