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 {
17451745 export type EntityNameExpression = Identifier | PropertyAccessEntityNameExpression ;
17461746 export type EntityNameOrEntityNameExpression = EntityName | EntityNameExpression ;
17471747
1748+ /* @internal */
17481749 export type AccessExpression = PropertyAccessExpression | ElementAccessExpression ;
17491750
17501751 export interface PropertyAccessExpression extends MemberExpression , NamedDeclaration {
Original file line number Diff line number Diff line change @@ -4590,6 +4590,10 @@ namespace ts {
45904590 || kind === SyntaxKind . JSDocFunctionType
45914591 || kind === SyntaxKind . JSDocVariadicType ;
45924592 }
4593+
4594+ export function isAccessExpression ( node : Node ) : node is AccessExpression {
4595+ return node . kind === SyntaxKind . PropertyAccessExpression || node . kind === SyntaxKind . ElementAccessExpression ;
4596+ }
45934597}
45944598
45954599namespace ts {
@@ -5586,10 +5590,6 @@ namespace ts {
55865590 return node . kind === SyntaxKind . ElementAccessExpression ;
55875591 }
55885592
5589- export function isAccessExpression ( node : Node ) : node is AccessExpression {
5590- return node . kind === SyntaxKind . PropertyAccessExpression || node . kind === SyntaxKind . ElementAccessExpression ;
5591- }
5592-
55935593 export function isCallExpression ( node : Node ) : node is CallExpression {
55945594 return node . kind === SyntaxKind . CallExpression ;
55955595 }
You can’t perform that action at this time.
0 commit comments