Type 'typeof MyPluginConfig' is not assignable to type '(config?: any) => any'. Type 'typeof MyPluginConfig' provides no match for the signature '(config?: any): any'. Overload 2 of 2, '(path: string, config?: any): Fork', gave the following error. Argument of type 'MyPlugin' is not assignable to parameter of type 'string'. ts-loader-default_e3b0c44298fc1c14
webpack 5.58.2 compiled with 1 error in 5971 ms Cleaning up file based variables ERROR: Job failed: exit code 1