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

Method AddImport

v2/internal/typescriptify/typescriptify.go:831–839  ·  view source on GitHub ↗
(i string)

Source from the content-addressed store, hash-verified

829}
830
831func (t *TypeScriptify) AddImport(i string) {
832 for _, cimport := range t.customImports {
833 if cimport == i {
834 return
835 }
836 }
837
838 t.customImports = append(t.customImports, i)
839}
840
841type typeScriptClassBuilder struct {
842 types map[reflect.Kind]string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected