think.service('someservice')asSomeService;constmodelInstance=think.model('somemodel')asSomeModel;}} TSLint
index.html karma.conf.js main.ts polyfills.ts styles.css test.ts tsconfig.app.json tsconfig.spec.json tslint.json
tslint.json利用npm安装的TypeScript语法检查器(linter)检测TypeScript代码并在你违反它的规则时提示你。
tslint:一个静态分析器,用来检查TypeScript代码的可读性、可维护性和功能方面的错误。 typescript:TypeScript语言服务,包括TypeScript编译器tsc。
false,beautify:true},sourceMap:false}),newDashboardPlugin(),newwebpack.LoaderOptionsPlugin({options:{tslint