mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 20:33:45 -05:00
Minor fix
This commit is contained in:
@@ -27759,7 +27759,7 @@ namespace ts {
|
||||
type = getApparentType(type);
|
||||
const propsByName = createSymbolTable(getPropertiesOfType(type));
|
||||
const functionType = getSignaturesOfType(type, SignatureKind.Call).length ? globalCallableFunctionType :
|
||||
getSignaturesOfType(type, SignatureKind.Call).length ? globalNewableFunctionType :
|
||||
getSignaturesOfType(type, SignatureKind.Construct).length ? globalNewableFunctionType :
|
||||
undefined;
|
||||
if (functionType) {
|
||||
forEach(getPropertiesOfType(functionType), p => {
|
||||
|
||||
Reference in New Issue
Block a user