mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Use Promise<void> when Go routine does not output (#1821)
This commit is contained in:
parent
7816b0b67f
commit
53ebb67b72
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ func (b *Bindings) GenerateGoBindings(baseDir string) error {
|
|||
}
|
||||
returnType += ">"
|
||||
} else {
|
||||
returnType = "void"
|
||||
returnType = "Promise<void>"
|
||||
}
|
||||
tsBody.WriteString(returnType + ";\n")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue