mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "conditionaltypeexpr" to "conditional_typeexpr"
This commit is contained in:
@@ -1045,7 +1045,7 @@ class QualifiedVarTypeAccess extends @qualified_var_type_access, VarTypeAccess {
|
|||||||
/**
|
/**
|
||||||
* A conditional type annotation, such as `T extends any[] ? A : B`.
|
* A conditional type annotation, such as `T extends any[] ? A : B`.
|
||||||
*/
|
*/
|
||||||
class ConditionalTypeExpr extends @conditionaltypeexpr, TypeExpr {
|
class ConditionalTypeExpr extends @conditional_typeexpr, TypeExpr {
|
||||||
/**
|
/**
|
||||||
* Gets the type to the left of the `extends` keyword, such as `T` in `T extends any[] ? A : B`.
|
* Gets the type to the left of the `extends` keyword, such as `T` in `T extends any[] ? A : B`.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -575,7 +575,7 @@ case @typeexpr.kind of
|
|||||||
| 25 = @local_namespace_access
|
| 25 = @local_namespace_access
|
||||||
| 26 = @qualified_namespace_access
|
| 26 = @qualified_namespace_access
|
||||||
| 27 = @mapped_typeexpr
|
| 27 = @mapped_typeexpr
|
||||||
| 28 = @conditionaltypeexpr
|
| 28 = @conditional_typeexpr
|
||||||
| 29 = @infertypeexpr
|
| 29 = @infertypeexpr
|
||||||
| 30 = @importtypeaccess
|
| 30 = @importtypeaccess
|
||||||
| 31 = @importnamespaceaccess
|
| 31 = @importnamespaceaccess
|
||||||
|
|||||||
@@ -894,7 +894,7 @@
|
|||||||
<v>20</v>
|
<v>20</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@conditionaltypeexpr</k>
|
<k>@conditional_typeexpr</k>
|
||||||
<v>100</v>
|
<v>100</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user