[ts] 'privateFunction' is declared but its value is never read. #52997
Labels
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Got here and found an issue similar to: #51814 which was marked as not reproducible.
Verified that the insiders build has the same issue as the current release. So I used it to test it without any external extensions.
Steps to Reproduce:
Using latest TypeScript npm package, create the typescript class below:
Does this issue occur when all extensions are disabled?: Yes
This happens only when we declare class functions as anonymous. Although not a best coding practice, VSCode is still flagging those variables or functions incorrectly.
The text was updated successfully, but these errors were encountered: