You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applications generated with the express generator have a file www without suffix but with the shebang
#!/usr/bin/env node
Code detects the file as a JS file and passes it to the tsserver. However, the tsserver treats this file as a .ts file and this results in type errors in a JS file.
extracted and summarized from microsoft/vscode#3508
Applications generated with the express generator have a file
www
without suffix but with the shebangCode detects the file as a JS file and passes it to the tsserver. However, the tsserver treats this file as a .ts file and this results in type errors in a JS file.
To reproduce:
node-express-javascript
in codebin/www
Notice that there are errors from TS reported in this file,
The text was updated successfully, but these errors were encountered: