Skip to content

Commit 1cac692

Browse files
erik-kroghasgerf
andauthored
Update javascript/ql/src/semmle/javascript/TypeScript.qll
Co-authored-by: Asger F <[email protected]>
1 parent 055275b commit 1cac692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/TypeScript.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ class TupleType extends ArrayType, @tuple_type {
21502150

21512151
/**
21522152
* Gets the index of the rest element.
2153-
* E.g. for a type `[number, ...string[]]` the result is 1,
2153+
* For example, for a type `[number, ...string[]]` the result is 1,
21542154
* or for a type `[...number[], string]` the result is 0.
21552155
*/
21562156
int getRestElementIndex() { tuple_type_rest_index(this, result) }

0 commit comments

Comments
 (0)