mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
13 lines
526 B
TypeScript
13 lines
526 B
TypeScript
import * as tsTypes from "typescript";
|
|
import { RollupContext } from "./context";
|
|
export interface IDiagnostics {
|
|
flatMessage: string;
|
|
formatted: string;
|
|
fileLine?: string;
|
|
category: tsTypes.DiagnosticCategory;
|
|
code: number;
|
|
type: string;
|
|
}
|
|
export declare function convertDiagnostic(type: string, data: tsTypes.Diagnostic[]): IDiagnostics[];
|
|
export declare function printDiagnostics(context: RollupContext, diagnostics: IDiagnostics[], pretty?: boolean): void;
|
|
//# sourceMappingURL=diagnostics.d.ts.map
|