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

Autocompletion identifies type correctly, but hover shows "any" #910

Closed
guy-borderless opened this issue Sep 6, 2023 · 3 comments
Closed

Comments

@guy-borderless
Copy link

Describe the bug
The correct type is only identified with auto completion.
To Reproduce

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.
Screencast from 2023-09-06 18-13-46.webm

Versions

vscode: 1.81.1 deno: 1.36.4 extension: v3.21.0

@bartlomieju
Copy link
Member

This might be related to denoland/deno#20294, but it's hard to say without a full reproduction code.

@dsherret
Copy link
Member

dsherret commented Sep 7, 2023

Maybe try running deno check --all <your-file> and see if there are any errors raised.

@guy-borderless
Copy link
Author

I need to roll back some commits and it wouldn't be easy to extract something I can show. It's not related to denoland/deno#20294, but probably to some error that caused inconsistent behavior. AFAIC you can close for now and I'll comment here if I'll manage to put up a reproducible repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants