UNPKG

410 BTypeScriptView Raw
1import { WarningHandler } from 'rollup';
2import { DiagnosticCategory } from './diagnostics';
3export declare type CodeCategoryMap = {
4 [code: string]: DiagnosticCategory | false;
5};
6export default function rollupWarningHandler({ codeCategories, onDiagnostic, }: {
7 codeCategories?: CodeCategoryMap | undefined;
8 onDiagnostic?: import("./diagnostics").DiagnosticHandler | undefined;
9}): WarningHandler;