mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
renamed "tupletype" to "tuple_type"
This commit is contained in:
@@ -1909,7 +1909,7 @@ class IntersectionType extends UnionOrIntersectionType, @intersection_type { }
|
||||
*/
|
||||
class ArrayType extends Type {
|
||||
ArrayType() {
|
||||
this instanceof @tupletype or
|
||||
this instanceof @tuple_type or
|
||||
this.(TypeReference).hasQualifiedName("Array") or
|
||||
this.(TypeReference).hasQualifiedName("ReadonlyArray")
|
||||
}
|
||||
@@ -1939,7 +1939,7 @@ class ReadonlyArrayType extends ArrayType, TypeReference {
|
||||
/**
|
||||
* A tuple type, such as `[number, string]`.
|
||||
*/
|
||||
class TupleType extends ArrayType, @tupletype {
|
||||
class TupleType extends ArrayType, @tuple_type {
|
||||
/**
|
||||
* Gets the `i`th member of this tuple type, starting at 0.
|
||||
*/
|
||||
|
||||
@@ -630,7 +630,7 @@ case @type.kind of
|
||||
| 15 = @unique_symbol_type
|
||||
| 16 = @objectkeyword_type
|
||||
| 17 = @intersection_type
|
||||
| 18 = @tupletype
|
||||
| 18 = @tuple_type
|
||||
| 19 = @lexicaltypevariabletype
|
||||
| 20 = @thistype
|
||||
| 21 = @numberliteraltype
|
||||
|
||||
@@ -974,7 +974,7 @@
|
||||
<v>369</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@tupletype</k>
|
||||
<k>@tuple_type</k>
|
||||
<v>307</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user