-
Notifications
You must be signed in to change notification settings - Fork 310
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
[TypeScript] REST API route completion is not triggered #469
Comments
Can you share some more details regarding your setup? |
I'm not sure this a bug with our code. This simply looks like an oddity with how the typescript types are processed and auto complete |
I'm using the latest version of Vscode (v1.68.1) on Windows 10. I'm using NodeJS version 18.3.0. |
I observed the same problem myself, it's very odd! And i was able to confirm that your mention workaround using I'd very much appreciate any help with digging into this |
The same problem happens on the Typescript Playground, I don't think it's limited to VS Code |
This is so funky. Here is the TypeScript playground link to experiment, and a video recording to showcase the problem Screen.Recording.2022-06-21.at.4.11.14.PM.mov |
Some insights by @levenleven
and
|
While the PR has fixed the route completion, it looks like the PR has broke options completion |
@HoTKreeZy Oh dear! 😬 Would you mind creating a new issue so we can track what you’re seeing? |
What happened?
API route completion is not triggered when I use the
octokit.request()
What did you expect to happen?
When starting to write the API route, I was expecting to have an API route completion but I don't.
I found (unexpectedly) that using a new pair of parenthesis when calling the method, I do get an API route completion.
How it should be ;
What I have to do ;
The text was updated successfully, but these errors were encountered: