ui-lib/lib/utility/lgres.d.ts

12 lines
339 B
TypeScript

interface LgresOptions {
template?: string,
callback?: (result: any) => void
}
export function init(dom?: HTMLElement, options?: LgresOptions): Promise<any>
export function r(key: string, defaultValue?: any): any
export const lang: {
get current(): string,
get unknownError(): string,
get savedSuccessfully(): string
}