认证0级讲师
解决了修改tsconfig.json
{ "compilerOptions": { "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "module": "commonjs", "moduleResolution": "node", "outDir": "dist", "sourceMap": true, "sourceRoot": "src", "target": "es5", "types": [ "node", "core-js", "express" ], "baseUrl": "." }, "include": [ "src/**/*" ], "exclude": [ "node_modules", "dist" ], "awesomeTypescriptLoaderOptions": { "useWebpackText": true, "forkChecker": true }, "compileOnSave": false, "buildOnSave": false, "atom": { "rewriteTsconfig": false } }
解决了
修改tsconfig.json