-
-
Notifications
You must be signed in to change notification settings - Fork 116
Incompatibility typings with webpack 4.27.1 #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
Hi,
You are trying to use a devtool option not supported by the typings you are
using. I cannot do anything about the issue here (no TS yet).
…On Sat, Dec 15, 2018, 15:28 Mateusz Paluszkiewicz ***@***.*** wrote:
webpack-merge version: 4.1.5
TS Error:
TSError: ⨯ Unable to compile TypeScript:
config/index.ts(11,5): error TS2345: Argument of type ***@***.***/webpack/index").Configuration' is not assignable to parameter of type ***@***.******@***.***/webpack/index.d.ts").Configuration'.
Types of property 'devtool' are incompatible.
Type 'boolean | "eval" | "inline-source-map" | "cheap-eval-source-map" | "cheap-source-map" | "cheap-module-eval-source-map" | "cheap-module-source-map" | "eval-source-map" | ... 35 more ... | undefined' is not assignable to type 'boolean | "eval" | "inline-source-map" | "cheap-eval-source-map" | "cheap-source-map" | "cheap-module-eval-source-map" | "cheap-module-source-map" | "eval-source-map" | ... 33 more ... | undefined'.
Type '"inline-cheap-source-map"' is not assignable to type 'boolean | "eval" | "inline-source-map" | "cheap-eval-source-map" | "cheap-source-map" | "cheap-module-eval-source-map" | "cheap-module-source-map" | "eval-source-map" | ... 33 more ... | undefined'.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#110>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAKMCZrvIW9833-hGHwJbiYK7f7sARuAks5u5QcdgaJpZM4ZUwhj>
.
|
This is a transpiration error. Nothing related with devtools. Seems that @types/webpack has updated its configuration object definition and seems incompatible with @types/webkpack-merge definitions |
This will get fixed in v5 (ported to TS). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
webpack-merge version: 4.1.5
TS Error:
The text was updated successfully, but these errors were encountered: