mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed style issue.
This commit is contained in:
parent
5e15ceb09b
commit
86fc807c88
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user