mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-10 02:40:26 +08:00
17 lines
509 B
TypeScript
17 lines
509 B
TypeScript
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
import {Person} from './models';
|
|
import {Title} from './models';
|
|
|
|
// Greet does XYZ
|
|
export async function Greet(name: string, title: Title) : Promise<string> {
|
|
return wails.CallByName("main.GreetService.Greet", name, title);
|
|
}
|
|
|
|
// NewPerson creates a new person
|
|
export async function NewPerson(name: string) : Promise<Person> {
|
|
return wails.CallByName("main.GreetService.NewPerson", name);
|
|
}
|
|
|