mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 00:55:32 -05:00
Merge pull request #11791 from Microsoft/genericTypeParameterConstraint
Check type parameters of the type alias declaration
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user