Skip to content

Commit e42077d

Browse files
committed
chore: add TS2839 to JS files
1 parent ce85d64 commit e42077d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/program.ts

+2
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ namespace ts {
968968
Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,
969969
Diagnostics.Class_constructor_may_not_be_a_generator.code,
970970
Diagnostics.Class_constructor_may_not_be_an_accessor.code,
971+
// Type errors
972+
Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code,
971973
]);
972974

973975
/**

0 commit comments

Comments
 (0)