You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using fork-ts-checker-webpack-plugin as a dependency with strict package managers such as yarn berry, the following warning/error is issued:
(node:13248) [MODULE_NOT_FOUND] Error: fork-ts-checker-webpack-plugin tried to access typescript, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
This is actually due to the fact that fork-ts-checker-webpack-plugin does import 'typescript' but does not declare it in its peerDependencies.
Expected behavior
fork-ts-checker-webpack-plugin package.json should explicitly add typescript as a peer dependency.