@@ -668,18 +668,33 @@ const repository = foo++!
668668Type query and index type query types
669669=======================================
670670
671- type K1 = keyof Person;
672- type K1 = typeof Person;
671+ type T = keyof Person;
672+ type T = keyof Person.P;
673+ type T = keyof Person<P>;
674+
675+ type T = typeof Person;
676+ type T = typeof Person.P;
677+ type T = typeof Person<P>;
678+
679+ type T = keyof typeof Person;
673680
674681---
675682
676683(program
677- (type_alias_declaration
678- (type_identifier)
684+ (type_alias_declaration (type_identifier)
679685 (index_type_query (type_identifier)))
680- (type_alias_declaration
681- (type_identifier)
682- (type_query (identifier))))
686+ (type_alias_declaration (type_identifier)
687+ (index_type_query (nested_type_identifier (identifier) (type_identifier))))
688+ (type_alias_declaration (type_identifier)
689+ (index_type_query (generic_type (type_identifier) (type_arguments (type_identifier)))))
690+ (type_alias_declaration (type_identifier)
691+ (type_query (identifier)))
692+ (type_alias_declaration (type_identifier)
693+ (type_query (nested_identifier (identifier) (identifier))))
694+ (type_alias_declaration (type_identifier)
695+ (type_query (generic_type (type_identifier) (type_arguments (type_identifier)))))
696+ (type_alias_declaration (type_identifier)
697+ (index_type_query (type_query (identifier)))))
683698
684699=======================================
685700Lookup types
0 commit comments