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
Type 'Plugin' is not assignable to type 'false | "" | 0 | ResolvePluginInstance | "..." | null | undefined'.
Type '{ apply: (arg0: Resolver) => void; }' is not assignable to type 'false | "" | 0 | ResolvePluginInstance | "..." | null | undefined'.
Type '{ apply: (arg0: Resolver) => void; }' is not assignable to type 'ResolvePluginInstance'.
Types of property 'apply' are incompatible.
Type '(arg0: Resolver) => void' is not assignable to type '(resolver: Resolver) => void'.
Types of parameters 'arg0' and 'resolver' are incompatible.
Type 'import("/private/tmp/test/node_modules/webpack/types").Resolver' is not assignable to type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Resolver'.
The types of 'options.plugins' are incompatible between these types.
Type 'Plugin[]' is not assignable to type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Plugin[]'.
Type 'Plugin' is not assignable to type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Plugin'.
Type '{ apply: (arg0: Resolver) => void; }' is not assignable to type 'Plugin'.
Type '{ apply: (arg0: import("/private/tmp/test/node_modules/webpack/types").Resolver) => void; }' is not assignable to type '{ apply: (arg0: import("/private/tmp/test/node_modules/enhanced-resolve/types").Resolver) => void; }'.
Types of property 'apply' are incompatible.
Type '(arg0: import("/private/tmp/test/node_modules/webpack/types").Resolver) => void' is not assignable to type '(arg0: import("/private/tmp/test/node_modules/enhanced-resolve/types").Resolver) => void'.
Types of parameters 'arg0' and 'arg0' are incompatible.
Type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Resolver' is not assignable to type 'import("/private/tmp/test/node_modules/webpack/types").Resolver'.
The types of 'options.plugins' are incompatible between these types.
Type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Plugin[]' is not assignable to type 'Plugin[]'.
Type 'import("/private/tmp/test/node_modules/enhanced-resolve/types").Plugin' is not assignable to type 'Plugin'.
Type '{ apply: (arg0: Resolver) => void; }' is not assignable to type 'Plugin'.
If the current behavior is a bug, please provide the steps to reproduce.
Bug report
TS2322, might be another bug in https://github.com/webpack/tooling?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
There should be no type errors.
Other relevant information:
The text was updated successfully, but these errors were encountered: