Skip to content
New issue

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

Incorrect problem is shown when inheriting a static method #50693

Closed
vadimmos opened this issue Sep 8, 2022 · 2 comments
Closed

Incorrect problem is shown when inheriting a static method #50693

vadimmos opened this issue Sep 8, 2022 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@vadimmos
Copy link

vadimmos commented Sep 8, 2022

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.71.0
  • OS Version: Windows 10 10.0.19044 (on Linux similarly)

Steps to Reproduce:

  1. declare a class with a static method that returns an instance of this class by calling this
  2. declare a class inheriting from the first with its own method or property
  3. vs code will show the presence of a problem consisting in the absence of this method/property in the first class
    example
    the code is quite working and the result of the create method called from the C2 class has the m method
@mjbvz mjbvz transferred this issue from microsoft/vscode Sep 8, 2022
@mjbvz mjbvz removed their assignment Sep 8, 2022
@whzx5byb
Copy link

whzx5byb commented Sep 9, 2022

Duplicate of #5863

@jakebailey jakebailey added the Duplicate An existing issue was already created label Sep 9, 2022
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

5 participants