Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib-amd/warn/warn.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

19 lines
536 B
TypeScript

export type ISettingsMap<T> = {
[P in keyof T]?: string;
};
/**
* Sends a warning to console, if the api is present.
*
* @public
* @param message - Warning message.
*/
export declare function warn(message: string): void;
/**
* Configures the warning callback. Passing in undefined will reset it to use the default
* console.warn function.
*
* @public
* @param warningCallback - Callback to override the generated warnings.
*/
export declare function setWarningCallback(warningCallback?: (message: string) => void): void;