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