UNPKG

730 BTypeScriptView Raw
1export declare const Strings: {
2 BadMessageKey: string;
3 ManagerFailedToStart: string;
4 ManagerErrorFn: string;
5 ManagerInitialized: string;
6 ManagerNotInitialized: string;
7 ManagerSettled: string;
8 ManagerNotSettled: string;
9 ManagerInitComplete: string;
10 ManagerNoSyncModels: string;
11 ManagerOnlyOneKeyType: string;
12 ManagerTypeStoreRequired: string;
13 PromiseUnhandledRejection: string;
14 PromiseRejected: string;
15};
16/**
17 * Retrieve a message with placeholders
18 * replaced
19 *
20 * @param key
21 * @param args
22 * @returns {any} an array of values, the index in the rest args
23 * starting at 0 maps to the string with ?0, ?1 ... ?n
24 */
25export declare function msg(str: any, ...args: any[]): any;