Currently, I am utilizing the angular2 QUICKSTART and encountering an issue where Visual Studio fails to recognize Angular2 with typescript import Modules. However, everything else seems to be functioning correctly:
https://i.stack.imgur.com/0s46Y.jpg
The error message displayed is:
Cannot find module 'angular2/platform/browser'
Description of my application :
- The .ts files are compiling without any errors.
- The application runs in the browser smoothly without any issues.
- If I explore the project in VS Code, it works perfectly fine with no errors detected in the IDE.
I am aware that typescript should directly read the .d.ts file from node_modules --> angular2. Despite this, I attempted to include angular2 DefinitelyTyped but unfortunately, it did not resolve the issue.
At the moment, I am using VS 2013 update 5 with typescript version 1.5 installed (I also experimented with version 1.75).