source: trip-planner-front/node_modules/@angular-devkit/build-optimizer/src/helpers/ast-utils.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 874 bytes
Line 
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 collectDeepNodes<T extends ts.Node>(node: ts.Node, kind: ts.SyntaxKind): T[];
10export declare function addPureComment<T extends ts.Node>(node: T): T;
11export declare function hasPureComment(node: ts.Node): boolean;
12export declare function isHelperName(name: string): boolean;
13/**
14 * In FESM's when not using `importHelpers` there might be multiple in the same file.
15 @example
16 ```
17 var __decorate$1 = '';
18 var __decorate$2 = '';
19 ```
20 * @returns Helper name without the '$' and number suffix or `undefined` if it's not a helper.
21 */
22export declare function getCleanHelperName(name: string): string | undefined;
Note: See TracBrowser for help on using the repository browser.