MCPcopy Index your code
hub / github.com/glideapps/quicktype / makeClass

Method makeClass

src/Inference.ts:64–67  ·  view source on GitHub ↗
(classes: NestedValueArray, maps: any[])

Source from the content-addressed store, hash-verified

62 }
63
64 protected makeClass(classes: NestedValueArray, maps: any[]): TypeRef {
65 assert(maps.length === 0);
66 return this._typeInference.inferClassType(this._cjson, this.typeName, this.isInferred, classes);
67 }
68
69 protected makeArray(arrays: NestedValueArray): TypeRef {
70 return this.typeBuilder.getArrayType(

Callers 1

TypeBuilder.tsFile · 0.45

Calls 1

assertFunction · 0.90

Tested by

no test coverage detected