mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Now that `ReadonlyFileSystem` and `PathManipulation` interfaces are available, this commit updates the compiler-cli to use these more focussed interfaces. PR Close #40281
22 lines
607 B
TypeScript
22 lines
607 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
import {LinkerOptions} from '../..';
|
|
import {ReadonlyFileSystem} from '../../../src/ngtsc/file_system';
|
|
import {Logger} from '../../../src/ngtsc/logging';
|
|
|
|
export interface LinkerPluginOptions extends Partial<LinkerOptions> {
|
|
/**
|
|
* File-system, used to load up the input source-map and content.
|
|
*/
|
|
fileSystem: ReadonlyFileSystem;
|
|
|
|
/**
|
|
* Logger used by the linker.
|
|
*/
|
|
logger: Logger;
|
|
}
|