UNPKG

544 BTypeScriptView Raw
1export declare type ISettingsMap<T> = {
2 [P in keyof T]?: string;
3};
4/**
5 * Sends a warning to console, if the api is present.
6 *
7 * @public
8 * @param message - Warning message.
9 */
10export declare function warn(message: string): void;
11/**
12 * Configures the warning callback. Passing in undefined will reset it to use the default
13 * console.warn function.
14 *
15 * @public
16 * @param warningCallback - Callback to override the generated warnings.
17 */
18export declare function setWarningCallback(warningCallback?: (message: string) => void): void;