UNPKG

565 BTypeScriptView Raw
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 */
8import * as ts from 'typescript';
9export declare class SourceFileCache extends Map<string, ts.SourceFile> {
10 private readonly angularDiagnostics;
11 invalidate(file: string): void;
12 updateAngularDiagnostics(sourceFile: ts.SourceFile, diagnostics: ts.Diagnostic[]): void;
13 getAngularDiagnostics(sourceFile: ts.SourceFile): ts.Diagnostic[] | undefined;
14}