mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Support TS bindings. Update tests. Tidy up.
This commit is contained in:
Vendored
+1
-1
@@ -9,6 +9,6 @@
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
**/
|
||||
export function Greet(name) {
|
||||
export async function Greet(name) {
|
||||
return wails.CallByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,6 +9,6 @@
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
**/
|
||||
export function Greet(name) {
|
||||
export async function Greet(name) {
|
||||
return wails.CallByName("main.GreetService.Greet", ...Array.prototype.slice.call(arguments, 0));
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// Greet someone
|
||||
export async function Greet(name: string) : Promise<string> {
|
||||
return wails.CallByName("main.GreetService.Greet", name);
|
||||
}
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// Greet someone
|
||||
export async function Greet(name: string) : Promise<string> {
|
||||
return wails.CallByID(1411160069, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user