extracted and summarized from microsoft/vscode#3508
Applications generated with the express generator have a file www without suffix but with the shebang
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.
To reproduce:
Notice that there are errors from TS reported in this file,
extracted and summarized from microsoft/vscode#3508
Applications generated with the express generator have a file
wwwwithout 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-javascriptin codebin/wwwNotice that there are errors from TS reported in this file,