@angular-devkit/build-optimizer
Version:
Angular Build Optimizer
12 lines (11 loc) • 542 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 * as ts from 'typescript';
export declare function testScrubFile(content: string): boolean;
export declare function createScrubFileTransformerFactory(isAngularCoreFile: boolean): (program?: ts.Program) => ts.TransformerFactory<ts.SourceFile>;
export declare function expect<T extends ts.Node>(node: ts.Node, kind: ts.SyntaxKind): T;