mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
renamed "intersectiontype" to "intersection_type"
This commit is contained in:
@@ -1894,7 +1894,7 @@ class UnionType extends UnionOrIntersectionType, @union_type { }
|
||||
/**
|
||||
* An intersection type, such as `T & {x: number}`.
|
||||
*/
|
||||
class IntersectionType extends UnionOrIntersectionType, @intersectiontype { }
|
||||
class IntersectionType extends UnionOrIntersectionType, @intersection_type { }
|
||||
|
||||
/**
|
||||
* A type that describes a JavaScript `Array` object.
|
||||
|
||||
@@ -629,7 +629,7 @@ case @type.kind of
|
||||
| 14 = @plain_symbol_type
|
||||
| 15 = @unique_symbol_type
|
||||
| 16 = @objectkeyword_type
|
||||
| 17 = @intersectiontype
|
||||
| 17 = @intersection_type
|
||||
| 18 = @tupletype
|
||||
| 19 = @lexicaltypevariabletype
|
||||
| 20 = @thistype
|
||||
@@ -642,7 +642,7 @@ case @type.kind of
|
||||
|
||||
@booleanliteraltype = @true_type | @false_type;
|
||||
@symbol_type = @plain_symbol_type | @unique_symbol_type;
|
||||
@union_or_intersection_type = @union_type | @intersectiontype;
|
||||
@union_or_intersection_type = @union_type | @intersection_type;
|
||||
@typevariable_type = @canonical_type_variable_type | @lexicaltypevariabletype;
|
||||
|
||||
has_asserts_keyword(int node: @predicate_typeexpr ref);
|
||||
|
||||
@@ -970,7 +970,7 @@
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@intersectiontype</k>
|
||||
<k>@intersection_type</k>
|
||||
<v>369</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user