TypeScript emitted no output for
解决办法 stackoverflow.com/questions/5…
npm install --save-dev fork-ts-checker-webpack-plugin
// webpack.config.js
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
module.exports = {
// ...
plugins: [new ForkTsCheckerWebpackPlugin()],
};