This solved the problem for me:
- Go to Options under the Tools menu.
- Expand options for Text Editor
- Expand options for TypeScript
- Expand options for Project
- Check “Automatically compile TypeScript file which are not part of the project”
This solved the problem for me:
- Go to Options under the Tools menu.
- Expand options for Text Editor
- Expand options for TypeScript
- Expand options for Project
- Check “Automatically compile TypeScript file which are not part of the project”