diff --git a/crates/stc_ts_file_analyzer/src/analyzer/assign/type_el.rs b/crates/stc_ts_file_analyzer/src/analyzer/assign/type_el.rs index f75797d697..a1419e5df2 100644 --- a/crates/stc_ts_file_analyzer/src/analyzer/assign/type_el.rs +++ b/crates/stc_ts_file_analyzer/src/analyzer/assign/type_el.rs @@ -435,11 +435,6 @@ impl Analyzer<'_, '_> { } Type::Class(rhs_cls) => { - // TODO(kdy1): Check if constructor exists. - if rhs_cls.def.is_abstract { - return Err(ErrorKind::CannotAssignAbstractConstructorToNonAbstractConstructor { span }.into()); - } - // TODO(kdy1): Optimize // for el in lhs { // self.assign_class_members_to_type_element(opts, el, &rhs.body)?;