Noticed that when TypeScript source is compiled into js, the js files appear in the Solution Explorer. This seems to occur when creating a new project using any one of the Node.js Tools for VS TypeScript project templates.
On the other hand, js files compiled using Visual Studio's built-in "HTML Application with TypeScript" project template do not get indexed in to Solution Explorer.
Is this to allow one to easily manipulate/view compiled js within VS to ensure that it can be properly consumed by existing Node.js modules or other js frameworks that lack type definitions?
Comments: This is most likely because you have 'Show All Files' enabled (check the solution explorer toolbar). It's enabled by default for Node.js projects. When enabled, solution explorer gives you a view of all files on disk. The compiled JS files aren't part of the project. You can tell the non-project vs project files apart by looking at the icon (non-project files have a disabled/dimmed icon).
On the other hand, js files compiled using Visual Studio's built-in "HTML Application with TypeScript" project template do not get indexed in to Solution Explorer.
Is this to allow one to easily manipulate/view compiled js within VS to ensure that it can be properly consumed by existing Node.js modules or other js frameworks that lack type definitions?
Comments: This is most likely because you have 'Show All Files' enabled (check the solution explorer toolbar). It's enabled by default for Node.js projects. When enabled, solution explorer gives you a view of all files on disk. The compiled JS files aren't part of the project. You can tell the non-project vs project files apart by looking at the icon (non-project files have a disabled/dimmed icon).