-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chore: update deps and types #4209
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
Conversation
51b760f
to
64c42a6
Compare
lib/Server.js
Outdated
@@ -754,7 +755,7 @@ class Server { | |||
// TODO remove `{}` after drop webpack v4 support | |||
const compilerWatchOptions = compilerOptions.watchOptions || {}; | |||
/** | |||
* @param {WatchOptions & WebpackConfiguration["watchOptions"]} watchOptions | |||
* @param {WatchOptions & { aggregateTimeout?: number, ignored?: AnymatchMatcher | string | RegExp | string[], poll?: number | boolean }} watchOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we should extend type here, i.e. WebpackConfiguration["watchOptions"] & { ignored?: AnymatchMatcher | string | RegExp | string[] }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did that at first, but it was throwing lint errors with this.
1574a53
to
0ae8729
Compare
Codecov Report
@@ Coverage Diff @@
## master #4209 +/- ##
=======================================
Coverage 92.47% 92.47%
=======================================
Files 14 14
Lines 1541 1541
Branches 590 590
=======================================
Hits 1425 1425
Misses 107 107
Partials 9 9
Continue to review full report at Codecov.
|
For Bugs and Features; did you add new tests?
No
Motivation / Use-Case
update deps and types
Breaking Changes
None
Additional Info
No