1 | /**
|
2 | * @license
|
3 | * Copyright Google LLC All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.io/license
|
7 | */
|
8 | import { Diagnostic } from 'typescript';
|
9 | import type { Compilation } from 'webpack';
|
10 | export type DiagnosticsReporter = (diagnostics: readonly Diagnostic[]) => void;
|
11 | export declare function createDiagnosticsReporter(compilation: Compilation, formatter: (diagnostic: Diagnostic) => string): DiagnosticsReporter;
|
12 | export declare function addWarning(compilation: Compilation, message: string): void;
|
13 | export declare function addError(compilation: Compilation, message: string): void;
|