source: trip-planner-front/node_modules/@angular/compiler-cli/src/transformers/metadata_reader.d.ts

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

initial commit

  • Property mode set to 100644
File size: 828 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/transformers/metadata_reader" />
9import { ModuleMetadata } from '../metadata';
10export interface MetadataReaderHost {
11 getSourceFileMetadata(filePath: string): ModuleMetadata | undefined;
12 cacheMetadata?(fileName: string): boolean;
13 fileExists(filePath: string): boolean;
14 readFile(filePath: string): string;
15}
16export interface MetadataReaderCache {
17}
18export declare function createMetadataReaderCache(): MetadataReaderCache;
19export declare function readMetadata(filePath: string, host: MetadataReaderHost, cache?: MetadataReaderCache): ModuleMetadata[] | undefined;
Note: See TracBrowser for help on using the repository browser.