Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_js_analyze): handle ambient declarations in noInnerDecl… #4744

Merged
merged 1 commit into from
Jul 31, 2023
Merged

refactor(rome_js_analyze): handle ambient declarations in noInnerDecl… #4744

merged 1 commit into from
Jul 31, 2023

Conversation

Conaclos
Copy link
Contributor

Summary

I take some time to test rome against the TypeScript Compiler code-base and I noted that noInnerDeclarations reported false-positives about ambient variable declarations.
This PR fixes this issue.

Test Plan

New tests included.

@Conaclos Conaclos requested a review from ematipico July 31, 2023 12:02
@netlify
Copy link

netlify bot commented Jul 31, 2023

Deploy Preview for docs-rometools canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit ed53783
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64c7a2dcfe58f300082a0942

@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Langauge: JavaScript labels Jul 31, 2023
Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@Conaclos Conaclos merged commit a7dc713 into rome:main Jul 31, 2023
18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Linter Area: linter L-JavaScript Langauge: JavaScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants