UNPKG

626 BTypeScriptView Raw
1import type { CSpellReporter, ReporterConfiguration } from '@cspell/cspell-types';
2import type { IConsole } from './console.js';
3import type { LinterCliOptions } from './options.js';
4export type ReporterConsole = IConsole;
5export interface CSpellReporterConfiguration extends Readonly<ReporterConfiguration>, Readonly<LinterCliOptions> {
6 /**
7 * The console to use for reporting.
8 * @since 8.11.1
9 */
10 readonly console?: ReporterConsole;
11}
12export interface CSpellReporterModule {
13 getReporter: <T>(settings: T, config: CSpellReporterConfiguration) => CSpellReporter;
14}
15//# sourceMappingURL=models.d.ts.map
\No newline at end of file