Skip to content

Commit 4b1f1b6

Browse files
committed
Fix lint
1 parent 4bab55f commit 4b1f1b6

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
@@ -9397,7 +9397,7 @@ namespace ts {
93979397
* and no required properties or index signatures
93989398
*/
93999399
function isWeak(type: Type) {
9400-
let props = getPropertiesOfType(type);
9400+
const props = getPropertiesOfType(type);
94019401
return type.flags & TypeFlags.Object &&
94029402
props.length > 0 &&
94039403
every(props, p => !!(p.flags & SymbolFlags.Optional)) &&

0 commit comments

Comments
 (0)