💅 false positive with noUndeclaredVariables
in *.d.ts
files
#4526
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
noUndeclaredVariables
Playground link
https://biomejs.dev/playground/?lintRules=all&code=aQBtAHAAbwByAHQAIAB0AHkAcABlACAAewAgAFQAcgBhAG4AcwBmAG8AcgBtAFMAdAByAGUAYQBtACAAYQBzACAAVAByAGEAbgBzAGYAbwByAG0AVwBlAGIAUwB0AHIAZQBhAG0AIAB9ACAAZgByAG8AbQAgACIAbgBvAGQAZQA6AHMAdAByAGUAYQBtAC8AdwBlAGIAIgA7AAoACgBlAHgAcABvAHIAdAAgAGMAbABhAHMAcwAgAFQAZQB4AHQATABpAG4AZQBTAHQAcgBlAGEAbQAgAGUAeAB0AGUAbgBkAHMAIABUAHIAYQBuAHMAZgBvAHIAbQBXAGUAYgBTAHQAcgBlAGEAbQA8AHMAdAByAGkAbgBnACwAIABzAHQAcgBpAG4AZwA%2BACAAewB9AAoA
Expected result
In
*.d.ts
files, declaring a class extending from an imported type is not understood by biomejs :Code of Conduct
The text was updated successfully, but these errors were encountered: