Merge pull request #11791 from Microsoft/genericTypeParameterConstraint

Check type parameters of the type alias declaration
This commit is contained in:
Sheetal Nandi
2016-10-24 10:42:45 -07:00
committed by GitHub
7 changed files with 68 additions and 5 deletions

View File

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