Check type parameters of the type alias declaration

Fixes #11166
This commit is contained in:
Sheetal Nandi
2016-10-21 16:40:11 -07:00
parent 45ba67d36f
commit f8c3a550ca
5 changed files with 41 additions and 12 deletions

View File

@@ -17418,6 +17418,7 @@ namespace ts {
checkGrammarDecorators(node) || checkGrammarModifiers(node);
checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);
checkTypeParameters(node.typeParameters);
checkSourceElement(node.type);
}