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

Function appendArrayType

typescript/src/zod/validate.ts:183–186  ·  view source on GitHub ↗
(arrayType: z.ZodType)

Source from the content-addressed store, hash-verified

181 }
182
183 function appendArrayType(arrayType: z.ZodType) {
184 appendType((arrayType._zod.def as z.core.$ZodArrayDef).element as z.ZodType, TypePrecedence.Object);
185 append("[]");
186 }
187
188 function appendObjectType(objectType: z.ZodType) {
189 append("{");

Callers 1

appendTypeDefinitionFunction · 0.85

Calls 2

appendTypeFunction · 0.85
appendFunction · 0.85

Tested by

no test coverage detected