You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/ql/src/LanguageFeatures/NonLinearPattern.qhelp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ From context, it appears that the second binding should have been for variable <
40
40
<samplesrc="examples/NonLinearPatternGood.js" />
41
41
42
42
<p>
43
-
This can sometimes happen in TypeScript, due to the apparant similarity between property patterns
43
+
This can sometimes happen in TypeScript, due to the apparent similarity between property patterns
44
44
and type annotations. In the following example, the function uses a pattern parameter with properties <code>x</code>
45
45
and <code>y</code>. These appear to have type <code>number</code>, but are in fact untyped properties both stored in a variable named <code>number</code>.
0 commit comments