source: trip-planner-front/node_modules/@angular/compiler-cli/src/diagnostics/translate_diagnostics.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 732 bytes
Line 
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/// <amd-module name="@angular/compiler-cli/src/diagnostics/translate_diagnostics" />
9import { ParseSourceSpan } from '@angular/compiler';
10import * as ts from 'typescript';
11import { Diagnostic } from '../transformers/api';
12export interface TypeCheckHost {
13 parseSourceSpanOf(fileName: string, line: number, character: number): ParseSourceSpan | null;
14}
15export declare function translateDiagnostics(host: TypeCheckHost, untranslatedDiagnostics: ReadonlyArray<ts.Diagnostic>): {
16 ts: ts.Diagnostic[];
17 ng: Diagnostic[];
18};
Note: See TracBrowser for help on using the repository browser.