Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove debug codes
  • Loading branch information
nissy-dev committed Jul 10, 2023
commit b144b4a35e5173ca81b2dd0385a2d2e0891afd3a
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ impl Rule for NoUndeclaredVariables {
ctx.query()
.all_unresolved_references()
.filter_map(|reference| {
// dbg!(&reference);
let identifier = reference.tree();
dbg!(&identifier);
let under_as_expression = identifier
.parent::<TsReferenceType>()
.and_then(|ty| ty.parent::<TsAsExpression>())
Expand Down