Add missing case to declaration diagnostic handler

This commit is contained in:
Wesley Wigham
2018-11-30 16:25:07 -08:00
parent 3d8668c3d4
commit fa8df0d32c
6 changed files with 45 additions and 0 deletions

View File

@@ -410,6 +410,7 @@ namespace ts {
}
break;
case SyntaxKind.FunctionType:
case SyntaxKind.FunctionDeclaration:
diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;
break;