@angular/compiler-cli
Version:
Angular - the compiler CLI for Node.js
15 lines (14 loc) • 543 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.dev/license
*/
import ts from 'typescript';
import { CompilerHost, CompilerOptions } from './api';
export declare function setWrapHostForTest(wrapFn: ((host: ts.CompilerHost) => ts.CompilerHost) | null): void;
export declare function createCompilerHost({ options, tsHost, }: {
options: CompilerOptions;
tsHost?: ts.CompilerHost;
}): CompilerHost;