File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1745,6 +1745,7 @@ namespace ts {
1745
1745
export type EntityNameExpression = Identifier | PropertyAccessEntityNameExpression ;
1746
1746
export type EntityNameOrEntityNameExpression = EntityName | EntityNameExpression ;
1747
1747
1748
+ /* @internal */
1748
1749
export type AccessExpression = PropertyAccessExpression | ElementAccessExpression ;
1749
1750
1750
1751
export interface PropertyAccessExpression extends MemberExpression , NamedDeclaration {
Original file line number Diff line number Diff line change @@ -4590,6 +4590,10 @@ namespace ts {
4590
4590
|| kind === SyntaxKind . JSDocFunctionType
4591
4591
|| kind === SyntaxKind . JSDocVariadicType ;
4592
4592
}
4593
+
4594
+ export function isAccessExpression ( node : Node ) : node is AccessExpression {
4595
+ return node . kind === SyntaxKind . PropertyAccessExpression || node . kind === SyntaxKind . ElementAccessExpression ;
4596
+ }
4593
4597
}
4594
4598
4595
4599
namespace ts {
@@ -5586,10 +5590,6 @@ namespace ts {
5586
5590
return node . kind === SyntaxKind . ElementAccessExpression ;
5587
5591
}
5588
5592
5589
- export function isAccessExpression ( node : Node ) : node is AccessExpression {
5590
- return node . kind === SyntaxKind . PropertyAccessExpression || node . kind === SyntaxKind . ElementAccessExpression ;
5591
- }
5592
-
5593
5593
export function isCallExpression ( node : Node ) : node is CallExpression {
5594
5594
return node . kind === SyntaxKind . CallExpression ;
5595
5595
}
You can’t perform that action at this time.
0 commit comments