noUndeclaredVariables complains about default-exported const in .d.ts file #2637
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
lint/correctness/noUndeclaredVariables
Playground link
https://biomejs.dev/playground/?lintRules=all&code=ZABlAGMAbABhAHIAZQAgAG0AbwBkAHUAbABlACAAJwB0AGUAcwB0AC0AbQBvAGQAdQBsAGUAJwAgAHsACgAgACAALwAvACAAYgBpAG8AbQBlAC0AaQBnAG4AbwByAGUAIABsAGkAbgB0AC8AcwB1AHMAcABpAGMAaQBvAHUAcwAvAG4AbwBFAHgAcABsAGkAYwBpAHQAQQBuAHkAOgAKACAAIABjAG8AbgBzAHQAIABmAG8AbwA6ACAAYQBuAHkAOwAKACAAIAAvAC8AIABiAGkAbwBtAGUALQBpAGcAbgBvAHIAZQAgAGwAaQBuAHQALwBzAHQAeQBsAGUALwBuAG8ARABlAGYAYQB1AGwAdABFAHgAcABvAHIAdAA6AAoAIAAgAGUAeABwAG8AcgB0ACAAZABlAGYAYQB1AGwAdAAgAGYAbwBvADsACgB9AAoA&jsx=false
Expected result
It should not error.
Code of Conduct
The text was updated successfully, but these errors were encountered: