Argument of type 'import("d:/workspace/mrdulin/webpack-samples/webpack-v5/examples/speed-measure-webpack-plugin-type-issue/node_modules/webpack/types").Configuration' is not assignable to parameter of type 'import("d:/workspace/mrdulin/webpack-samples/webpack-v5/examples/speed-measure-webpack-plugin-type-issue/node_modules/@types/speed-measure-webpack-plugin/node_modules/@types/webpack/index").Configuration'.
Types of property 'entry' are incompatible.
Type 'string | (() => string | EntryObject | string[] | Promise<EntryStatic>) | EntryObject | string[] | undefined' is not assignable to type 'string | string[] | Entry | EntryFunc | undefined'.
Type '() => string | EntryObject | string[] | Promise<EntryStatic>' is not assignable to type 'string | string[] | Entry | EntryFunc | undefined'.
Type '() => string | EntryObject | string[] | Promise<EntryStatic>' is not assignable to type 'EntryFunc'.
Type 'string | EntryObject | string[] | Promise<EntryStatic>' is not assignable to type 'string | string[] | Entry | Promise<string | string[] | Entry>'.
Type 'EntryObject' is not assignable to type 'string | string[] | Entry | Promise<string | string[] | Entry>'.
Type 'EntryObject' is missing the following properties from type 'string[]': length, pop, push, concat, and 29 more.
webpack.config.ts
:TSC throw errors:
package.json
: