vscode npm import not recognizing all package contents
Deno itself seems to be importing the package and its contents just fine, but vscode only recognizes certain exports. In this case, the tensorflow function "tf.sequential" works when the program is run, but vscode is not recognizing it. Only two properties are recognized: tf.data and tf.version
4 Replies
Try on
deno upgrade --canary
, the issue may be fixed already. If not, please open an issue with a reproductioni think the issue is with the vscode extension, not deno itself. I tried deno upgrade --canary, and the problem persisted. I'll open an issue
The language server program the extension uses is located in the Deno binary. My testing shows that the issue is fixed in canary, try restarting the window after upgrading.
you're right, i had to restart everything, now it works