UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

22 lines (21 loc) 526 B
/** * Localized strings interface */ export interface ILocalizedStrings { getString(key: string, ...args: Array<number | string>): string; } /** * A string map type. */ export type StringsMap = { [key: string]: string; }; /** * Default ILocalizedStrings implementation. */ export declare class LocalizedStrings implements ILocalizedStrings { private language; private strings; constructor(language: string, strings: StringsMap); getString(key: string, ...args: Array<number | string>): string; }