mirror of
https://github.com/microsoft/pyright.git
synced 2024-11-13 09:34:44 +03:00
Added missing hasDeclaredType setting in types.
This commit is contained in:
parent
a2ecab1af4
commit
546e14eaef
@ -1002,11 +1002,13 @@ export namespace FunctionType {
|
||||
category: ParameterCategory.VarArgList,
|
||||
name: 'args',
|
||||
type: useUnknown ? UnknownType.create() : AnyType.create(),
|
||||
hasDeclaredType: !useUnknown,
|
||||
});
|
||||
FunctionType.addParameter(functionType, {
|
||||
category: ParameterCategory.VarArgDictionary,
|
||||
name: 'kwargs',
|
||||
type: useUnknown ? UnknownType.create() : AnyType.create(),
|
||||
hasDeclaredType: !useUnknown,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user