UNPKG

620 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 */
8/// <amd-module name="@angular/compiler-cli/src/transformers/compiler_host" />
9import ts from 'typescript';
10import { CompilerHost, CompilerOptions } from './api';
11export declare function setWrapHostForTest(wrapFn: ((host: ts.CompilerHost) => ts.CompilerHost) | null): void;
12export declare function createCompilerHost({ options, tsHost }: {
13 options: CompilerOptions;
14 tsHost?: ts.CompilerHost;
15}): CompilerHost;