MCPcopy Index your code
hub / github.com/microsoft/TypeChat / appendReadonlyType

Function appendReadonlyType

typescript/src/zod/validate.ts:261–265  ·  view source on GitHub ↗
(readonlyType: z.ZodType)

Source from the content-addressed store, hash-verified

259 }
260
261 function appendReadonlyType(readonlyType: z.ZodType) {
262 append("Readonly<");
263 appendType((readonlyType._zod.def as z.core.$ZodReadonlyDef).innerType as z.ZodType);
264 append(">");
265 }
266}

Callers 1

appendTypeDefinitionFunction · 0.85

Calls 2

appendFunction · 0.85
appendTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…