Replies: 1 comment
-
If it acts the same in VSCode then I'd suggest reporting in vscode (or Typescript) repo since that's where the logic lives. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'am seen imported method reported as variable instead of function after first completion in js file.
Initial auto-complete/importing works as expected but all subsequent auto-complete attempts report function as variable.
I have created simple js file with named function declaration.

I then auto-complete this function name in another file and it shows it correctly as a function inside auto-complete popup.

Unfortunately all the subsequent attempts to auto-complete this function name will show it as a variable instead of a function,

This results in loss of function parameters list.
Observation, if I remove import statement at the top and try to auto-complete again, IntelliSense once again shows it as a function.
Tested in Emacs with LSP/Eglot and vscode.
Is this a bug, or do I need to do some special configuration to get this to work correctly?
Thank you for you help.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions