UNPKG

541 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 ts from 'typescript';
9import { CompilerHost, CompilerOptions } from './api';
10export declare function setWrapHostForTest(wrapFn: ((host: ts.CompilerHost) => ts.CompilerHost) | null): void;
11export declare function createCompilerHost({ options, tsHost }: {
12 options: CompilerOptions;
13 tsHost?: ts.CompilerHost;
14}): CompilerHost;