fix grammar
This commit is contained in:
parent
9dadde6884
commit
8fa19656ae
|
@ -157,7 +157,7 @@ function updateExistingFactory(moduleFactoriesTarget: AnyWebpackRequire["m"], id
|
||||||
}
|
}
|
||||||
|
|
||||||
if (existingFactory != null) {
|
if (existingFactory != null) {
|
||||||
// If existingFactory exists in any Webpack instance, its either wrapped in defineModuleFactoryGetter, or it has already been required.
|
// If existingFactory exists in any Webpack instance, it's either wrapped in defineModuleFactoryGetter, or it has already been required.
|
||||||
// So define the descriptor of it on this current Webpack instance, call Reflect.set with the new original,
|
// So define the descriptor of it on this current Webpack instance, call Reflect.set with the new original,
|
||||||
// and let the correct logic apply (normal set, or defineModuleFactoryGetter setter)
|
// and let the correct logic apply (normal set, or defineModuleFactoryGetter setter)
|
||||||
|
|
||||||
|
|
2
src/webpack/wreq.d.ts
vendored
2
src/webpack/wreq.d.ts
vendored
|
@ -140,7 +140,7 @@ export type WebpackRequire = ((moduleId: PropertyKey) => ModuleExports) & {
|
||||||
* Internally it uses the handlers in {@link WebpackRequire.f} to load/ensure the chunk is loaded.
|
* Internally it uses the handlers in {@link WebpackRequire.f} to load/ensure the chunk is loaded.
|
||||||
*/
|
*/
|
||||||
e: (this: WebpackRequire, chunkId: PropertyKey) => Promise<void[]>;
|
e: (this: WebpackRequire, chunkId: PropertyKey) => Promise<void[]>;
|
||||||
/** Get the filename name for the css part of a chunk */
|
/** Get the filename for the css part of a chunk */
|
||||||
k: (this: WebpackRequire, chunkId: PropertyKey) => string;
|
k: (this: WebpackRequire, chunkId: PropertyKey) => string;
|
||||||
/** Get the filename for the js part of a chunk */
|
/** Get the filename for the js part of a chunk */
|
||||||
u: (this: WebpackRequire, chunkId: PropertyKey) => string;
|
u: (this: WebpackRequire, chunkId: PropertyKey) => string;
|
||||||
|
|
Loading…
Reference in a new issue