Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
841 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 | */
|
---|
8 | /// <amd-module name="@angular/core/schematics/utils/typescript/functions" />
|
---|
9 | import * as ts from 'typescript';
|
---|
10 | /** Checks whether a given node is a function like declaration. */
|
---|
11 | export declare function isFunctionLikeDeclaration(node: ts.Node): node is ts.FunctionLikeDeclaration;
|
---|
12 | /**
|
---|
13 | * Unwraps a given expression TypeScript node. Expressions can be wrapped within multiple
|
---|
14 | * parentheses or as expression. e.g. "(((({exp}))))()". The function should return the
|
---|
15 | * TypeScript node referring to the inner expression. e.g "exp".
|
---|
16 | */
|
---|
17 | export declare function unwrapExpression(node: ts.Expression | ts.ParenthesizedExpression): ts.Expression;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.