-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
[5.3.2] .d.ts references dom Request/Response #1270
Comments
@alexander-akait I believe this is a regression from these changes: https://github.com/webpack/webpack-dev-middleware/pull/1260/files#diff-093ad82a25aee498b11febf1cdcb6546e4d223ffcb49ed69cc275ac27ce0ccce |
I have the same problem~ |
+1 webpack-dev-middleware/types/index.d.ts Lines 175 to 178 in f88067d
|
@AviVahl Weird, we don't touch ts files, just update deps, maybe regression in ts? |
Found ts regression, when you have:
ts 4.6 consider |
Bug report
new release changed the typings, and where it says
Request/Response
, it references global ones defined bydom.d.ts
.Actual Behavior
Expected Behavior
It should pass type checking in strict typescript projects that don't specify
skipLibCheck
.How Do We Reproduce?
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: