-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
refactor: typos #4922
refactor: typos #4922
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4922 +/- ##
==========================================
- Coverage 91.87% 91.71% -0.16%
==========================================
Files 73 73
Lines 2412 2414 +2
Branches 593 594 +1
==========================================
- Hits 2216 2214 -2
- Misses 178 182 +4
Partials 18 18
Continue to review full report at Codecov.
|
@@ -111,7 +111,7 @@ export default class Resolver { | |||
throw new Error(`Cannot resolve "${path}" from "${resolvedPath}"`) | |||
} | |||
|
|||
requireModule(path, { esm, useESM = esm, alias, isAlias = alias, intropDefault } = {}) { | |||
requireModule(path, { esm, useESM = esm, alias, isAlias = alias, intropDefault, interopDefault = intropDefault } = {}) { |
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.
interopDefault = intropDefault ?
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.
@pi0 to avoid breaking changes, same as isAlias = alias
and so on
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.
Will add a warning, 1 sec
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 don't think anybody uses them. Should be fine as not documented. Anyway let's keep it :)
The continuation of #4904