mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Use Promise<void> when Go routine does not output (#1821)
This commit is contained in:
@@ -80,7 +80,7 @@ func (b *Bindings) GenerateGoBindings(baseDir string) error {
|
||||
}
|
||||
returnType += ">"
|
||||
} else {
|
||||
returnType = "void"
|
||||
returnType = "Promise<void>"
|
||||
}
|
||||
tsBody.WriteString(returnType + ";\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user