UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

10 lines (9 loc) 361 B
import { Connection } from "../classes/connection"; export declare namespace i18n { function determineConnectionLocale(connection: Connection): any; function invokeConnectionLocale(connection: Connection): void; /** * Return a translated string. */ function localize(message: string | Array<string>, object?: Connection | any): any; }