diff --git a/lib/typescript.js b/lib/typescript.js index 1e2f51f5aa..6608f585b6 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -5037,7 +5037,7 @@ var ts; * 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. * 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) * i.e. super property access is illegal in function declaration but can be legal in the statement list */ diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index 1e2f51f5aa..6608f585b6 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -5037,7 +5037,7 @@ var ts; * 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. * 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) * i.e. super property access is illegal in function declaration but can be legal in the statement list */ diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 7bc708c717..3553430bcd 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -779,7 +779,7 @@ namespace ts { * 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. * 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) * i.e. super property access is illegal in function declaration but can be legal in the statement list */