UNPKG

@artegoser/fluent

Version:

Better Fluent integration for JavaScript

11 lines (10 loc) 390 B
import { Warning, WarningHandler } from './warnings'; export interface LoggingWarningHandlerOptions { logFunction?: (...args: any) => void; } export declare class LoggingWarningHandler implements WarningHandler { private readonly options; private readonly writeLog; constructor(options?: LoggingWarningHandlerOptions); handleWarning(warning: Warning): void; }