5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 04:50:07 +08:00
wails/v3/internal/parser/testdata/enum/frontend/bindings/main/GreetService.js
2024-01-07 20:11:34 +11:00

31 lines
753 B
JavaScript

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {Call} from '@wailsio/runtime';
/**
* @typedef {import('./models').Person} Person
* @typedef {import('./models').Title} Title
*/
/**
* Greet does XYZ
* @function Greet
* @param name {string}
* @param title {Title}
* @returns {Promise<string>}
**/
export async function Greet(name, title) {
return Call.ByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
}
/**
* NewPerson creates a new person
* @function NewPerson
* @param name {string}
* @returns {Promise<Person>}
**/
export async function NewPerson(name) {
return Call.ByID(1661412647, ...Array.prototype.slice.call(arguments, 0));
}