mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "keyoftypeexpr" to "keyof_typeexpr"
This commit is contained in:
@@ -877,7 +877,7 @@ class TupleTypeExpr extends @tuple_typeexpr, TypeExpr {
|
||||
/**
|
||||
* A type of form `keyof T` where `T` is a type.
|
||||
*/
|
||||
class KeyofTypeExpr extends @keyoftypeexpr, TypeExpr {
|
||||
class KeyofTypeExpr extends @keyof_typeexpr, TypeExpr {
|
||||
/** Gets the type `T` in `keyof T`, denoting the object type whose property names are to be extracted. */
|
||||
TypeExpr getElementType() { result = getChildTypeExpr(0) }
|
||||
}
|
||||
|
||||
@@ -559,7 +559,7 @@ case @typeexpr.kind of
|
||||
| 9 = @intersection_typeexpr
|
||||
| 10 = @parenthesized_typeexpr
|
||||
| 11 = @tuple_typeexpr
|
||||
| 12 = @keyoftypeexpr
|
||||
| 12 = @keyof_typeexpr
|
||||
| 13 = @qualifiedtypeaccess
|
||||
| 14 = @generictypeexpr
|
||||
| 15 = @typelabel
|
||||
|
||||
@@ -798,7 +798,7 @@
|
||||
<v>98</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@keyoftypeexpr</k>
|
||||
<k>@keyof_typeexpr</k>
|
||||
<v>3</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user