konnte ich nicht finden, ich folgte diesem guide, Winkel mit .net mvc zu verwenden, aber ich habe keinen Erfolg. Ich habe versucht, diese Lösung unten kann das Problem nicht beheben. Ich habe den Fehler in der DateiDer Name 'PropertyKey' in index.d.ts (MS Visual Studio und eckig)
Typoskript \ node_modules \ @types \ core-js \ index.d.ts
Hier wird die TSconfig und package.json beide gelegen in der Wurzel des Projekts.
"dependencies": {
"@angular/animations": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14",
"typings": "^1.3.2"
}
TSconfig
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2017",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"dom",
"es2017"
]
},
"exclude": [
"node_modules"
]
}