mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
Bugfix: generate correct model reference in bindings.d.ts
This commit is contained in:
parent
7af39e4819
commit
f6cdafa5ff
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func (b *Bindings) GenerateBackendTS(targetfile string) error {
|
|||
|
||||
sortedStructNames.Each(func(structName string) {
|
||||
structs := packages[structName]
|
||||
output.WriteString(fmt.Sprintf(" \"%s\": {", structName))
|
||||
output.WriteString(fmt.Sprintf(" \"models.%s\": {", structName))
|
||||
output.WriteString("\n")
|
||||
|
||||
var sortedMethodNames slicer.StringSlicer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue