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

18 lines
500 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.ByID(1411160069, name, title);
}
// NewPerson creates a new person
export async function NewPerson(name: string) : Promise<Person> {
return Call.ByID(1661412647, name);
}