UNPKG

542 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 * as ts from 'typescript';
9export declare function testScrubFile(content: string): boolean;
10export declare function createScrubFileTransformerFactory(isAngularCoreFile: boolean): (program?: ts.Program) => ts.TransformerFactory<ts.SourceFile>;
11export declare function expect<T extends ts.Node>(node: ts.Node, kind: ts.SyntaxKind): T;