MCPcopy Create free account
hub / github.com/wailsapp/wails / AddType

Method AddType

v2/internal/typescriptify/typescriptify.go:270–273  ·  view source on GitHub ↗
(typeOf reflect.Type)

Source from the content-addressed store, hash-verified

268}
269
270func (t *TypeScriptify) AddType(typeOf reflect.Type) *TypeScriptify {
271 t.structTypes = append(t.structTypes, StructType{Type: typeOf})
272 return t
273}
274
275func (t *typeScriptClassBuilder) AddMapField(fieldName string, field reflect.StructField) {
276 keyType := field.Type.Key()

Callers 1

AddMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected