Skip to content

Commit 10c8f15

Browse files
author
Benjamin Tong
committed
update code with suggested changes
1 parent cff2f13 commit 10c8f15

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21464,9 +21464,8 @@ namespace ts {
2146421464
&& !(type.symbol.flags & SymbolFlags.Class)
2146521465
&& !typeHasCallOrConstructSignatures(type)
2146621466
) || !!(
21467-
objectFlags
21468-
&& objectFlags & ObjectFlags.ObjectRestType
21469-
) || !!(getObjectFlags(type) & ObjectFlags.ReverseMapped && isObjectTypeWithInferableIndex((type as ReverseMappedType).source));
21467+
objectFlags & ObjectFlags.ObjectRestType
21468+
) || !!(objectFlags & ObjectFlags.ReverseMapped && isObjectTypeWithInferableIndex((type as ReverseMappedType).source));
2147021469
}
2147121470

2147221471
function createSymbolWithType(source: Symbol, type: Type | undefined) {

0 commit comments

Comments
 (0)