在Visual Studio 2015(VS2015)中使用npm 4.5.0,TS 2.2,Angular v4。
我有一个像这样的package.json:
{
"name": "MyApp",
"version": "1.0.0",
"scripts": {
"start": "npm prune --production=false"
},
"dependencies": {
"@angular/animations": "4.x",
"@angular/common": "4.x",
...
"core-js": "^2.4.1",
...
},
"devDependencies": {
"@types/core-js": "^0.9.35",
"@types/jasmine": "2.5.x",
...
我有三个主要问题: