Last change
on this file since 6a80231 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" />
|
---|
9 | import { ParseSourceSpan } from '@angular/compiler';
|
---|
10 | import * as ts from 'typescript';
|
---|
11 | import { Diagnostic } from '../transformers/api';
|
---|
12 | export interface TypeCheckHost {
|
---|
13 | parseSourceSpanOf(fileName: string, line: number, character: number): ParseSourceSpan | null;
|
---|
14 | }
|
---|
15 | export 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.