Skip to content

Commit

Permalink
Update crates/stc_ts_file_analyzer/src/analyzer/expr/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sunrabbit123 committed Oct 11, 2023
1 parent 3a7f971 commit 6eb7d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/stc_ts_file_analyzer/src/analyzer/expr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3055,7 +3055,7 @@ impl Analyzer<'_, '_> {
}

for (id, tys) in exports.private_types.iter() {
if id.sym().eq(sym) {
if *id.sym() == *sym {
for ty in tys.iter() {
if ty.is_module() || ty.is_interface() {
return Ok(ty.clone());
Expand Down

0 comments on commit 6eb7d64

Please sign in to comment.