UNPKG

lit-analyzer

Version:

CLI that type checks bindings in lit-html templates

23 lines 1.12 kB
import * as tsMod from "typescript"; import { Program, SourceFile } from "typescript"; import { LitAnalyzerConfig } from "../../lit-analyzer-config.js"; import { LitAnalyzerLogger } from "../../lit-analyzer-logger.js"; import { AnalyzerDefinitionStore } from "../../store/analyzer-definition-store.js"; import { AnalyzerDependencyStore } from "../../store/analyzer-dependency-store.js"; import { AnalyzerDocumentStore } from "../../store/analyzer-document-store.js"; import { AnalyzerHtmlStore } from "../../store/analyzer-html-store.js"; import { RuleDiagnostic } from "./rule-diagnostic.js"; export interface RuleModuleContext { readonly ts: typeof tsMod; readonly program: Program; readonly file: SourceFile; readonly htmlStore: AnalyzerHtmlStore; readonly dependencyStore: AnalyzerDependencyStore; readonly documentStore: AnalyzerDocumentStore; readonly definitionStore: AnalyzerDefinitionStore; readonly logger: LitAnalyzerLogger; readonly config: LitAnalyzerConfig; report(diagnostic: RuleDiagnostic): void; break(): void; } //# sourceMappingURL=rule-module-context.d.ts.map