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

Method AddEnumValues

v2/internal/typescriptify/typescriptify.go:388–391  ·  view source on GitHub ↗

AddEnumValues is deprecated, use `AddEnum()`

(typeOf reflect.Type, values interface{})

Source from the content-addressed store, hash-verified

386
387// AddEnumValues is deprecated, use `AddEnum()`
388func (t *TypeScriptify) AddEnumValues(typeOf reflect.Type, values interface{}) *TypeScriptify {
389 t.AddEnum(values)
390 return t
391}
392
393func (t *TypeScriptify) Convert(customCode map[string]string) (string, error) {
394 t.alreadyConverted = make(map[string]bool)

Callers

nothing calls this directly

Calls 1

AddEnumMethod · 0.95

Tested by

no test coverage detected