Update utilities.ts
This commit is contained in:
parent
911d07a81b
commit
2294ef8891
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ namespace ts {
|
||||||
* Given an super call\property node returns a closest node where either
|
* Given an super call\property node returns a closest node where either
|
||||||
* - super call\property is legal in the node and not legal in the parent node the node.
|
* - super call\property is legal in the node and not legal in the parent node the node.
|
||||||
* i.e. super call is legal in constructor but not legal in the class body.
|
* i.e. super call is legal in constructor but not legal in the class body.
|
||||||
* - node is arrow function (so caller might need to call getSuperContainer in case if he needs to climb higher)
|
* - node is arrow function (so caller might need to call getSuperContainer in case it needs to climb higher)
|
||||||
* - super call\property is definitely illegal in the node (but might be legal in some subnode)
|
* - super call\property is definitely illegal in the node (but might be legal in some subnode)
|
||||||
* i.e. super property access is illegal in function declaration but can be legal in the statement list
|
* i.e. super property access is illegal in function declaration but can be legal in the statement list
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue