We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expando functions members shadowed
Playground Link
function X() { } if(Math.random()) { const X: { test?: any } = {} X.test = 1 }
test appears in declarations as a member of X, even though the function X is shadowed by a local variable
test
X
test should not appear on X as it does not belong to it.
Found while trying to detect expando functions in isolated declarations
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
π Search Terms
expando functions members shadowed
π Version & Regression Information
β― Playground Link
Playground Link
π» Code
π Actual behavior
test
appears in declarations as a member ofX
, even though the functionX
is shadowed by a local variableπ Expected behavior
test
should not appear onX
as it does not belong to it.Additional information about the issue
Found while trying to detect expando functions in isolated declarations
The text was updated successfully, but these errors were encountered: