A webpack plugin that connects fork-ts-checker-webpack-plugin (with async: true) to the error overlay of webpack-dev-server. Version 0.4.0 is the latest stable release. The plugin addresses the limitation that type checking errors from fork-ts-checker-webpack-plugin are not shown in the dev server overlay when running asynchronously (async: true). It works by re-firing the webpack-dev-server's done hook after type checking completes, but only if there are errors, to avoid unnecessary page reloads. It requires fork-ts-checker-webpack-plugin ^4.1.6 as a peer dependency and is intended for use with ts-loader's transpileOnly option. Key differentiator: allows fast incremental builds (async: true) while still showing type errors in overlay, avoiding the need to set async: false which slows down builds.
npm install fork-ts-checker-async-overlay-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Configures webpack with ts-loader (transpileOnly), fork-ts-checker-webpack-plugin, and this plugin to show type errors in dev server overlay.
Use fork-ts-checker-webpack-plugin's built-in warning reporting or no overlay for warnings.
Set devServer: { overlay: true, inline: true } in webpack config.Expected behavior; no workaround.
Pin fork-ts-checker-webpack-plugin to ^4.1.6 and monitor for updates.
Ensure devServer config has overlay: true and inline: true, and call .plugins() on the plugin instance.
Run 'npm install fork-ts-checker-async-overlay-webpack-plugin --save-dev'.
Use require() instead of import: const ForkTsCheckerAsyncOverlayWebpackPlugin = require('fork-ts-checker-async-overlay-webpack-plugin');