Skip to content

Commit 91123fc

Browse files
committed
Minor fix
1 parent 8a41f5f commit 91123fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27759,7 +27759,7 @@ namespace ts {
2775927759
type = getApparentType(type);
2776027760
const propsByName = createSymbolTable(getPropertiesOfType(type));
2776127761
const functionType = getSignaturesOfType(type, SignatureKind.Call).length ? globalCallableFunctionType :
27762-
getSignaturesOfType(type, SignatureKind.Call).length ? globalNewableFunctionType :
27762+
getSignaturesOfType(type, SignatureKind.Construct).length ? globalNewableFunctionType :
2776327763
undefined;
2776427764
if (functionType) {
2776527765
forEach(getPropertiesOfType(functionType), p => {

0 commit comments

Comments
 (0)