Skip to content

Commit

Permalink
Docs: add comment about todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sunrabbit123 committed Aug 8, 2023
1 parent cc9fda8 commit 4591ec7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/stc_ts_file_analyzer/src/analyzer/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ impl Analyzer<'_, '_> {
return Ok(ty);
}

// TODO(sunrabbit123): scope of normalize should be obj_ty scope
return self.with_child(super::ScopeKind::ObjectLit, Default::default(), |child| {
child.scope.this = Some(*obj_ty);
child
Expand Down

0 comments on commit 4591ec7

Please sign in to comment.