| import { LitAnalyzerConfig } from "lit-analyzer"; |
| import ts, { Diagnostic } from "typescript"; |
| interface DiagnosticPlugin { |
| readonly name: string; |
| getDiagnostics(sourceFile: ts.SourceFile): Readonly<ts.Diagnostic>[]; |
| } |
| /** |
| * Implements bazel's DiagnosticPlugin interface, so that we can run |
| * the ts-lit-plugin checks as part of bazel compilation. |
| */ |
| export declare class Plugin implements DiagnosticPlugin { |
| readonly name = "lit"; |
| private readonly context; |
| private readonly analyzer; |
| constructor(program: ts.Program, config: LitAnalyzerConfig); |
| getDiagnostics(sourceFile: ts.SourceFile): Diagnostic[]; |
| } |
| export {}; |
| //# sourceMappingURL=bazel-plugin.d.ts.map |