You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
577 B
14 lines
577 B
/**
|
|
* @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';
|
|
/**
|
|
* Unwraps a given expression TypeScript node. Expressions can be wrapped within multiple
|
|
* parentheses. e.g. "(((({exp}))))()". The function should return the TypeScript node
|
|
* referring to the inner expression. e.g "exp".
|
|
*/
|
|
export declare function unwrapExpression(node: ts.Expression | ts.ParenthesizedExpression): ts.Expression;
|