Fixed style issue.

This commit is contained in:
Eric Traut 2022-02-05 12:51:39 -08:00
parent 5e15ceb09b
commit 86fc807c88

View File

@ -13016,10 +13016,7 @@ export function createTypeEvaluator(importLookup: ImportLookup, evaluatorOptions
return createSpecialType(classType, typeArgs, /* paramLimit */ undefined, /* allowParamSpec */ true);
}
function createAnnotatedType(
errorNode: ParseNode,
typeArgs: TypeResult[] | undefined
): Type {
function createAnnotatedType(errorNode: ParseNode, typeArgs: TypeResult[] | undefined): Type {
if (typeArgs && typeArgs.length < 2) {
addError(Localizer.Diagnostic.annotatedTypeArgMissing(), errorNode);
}