diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 709104f89..18c08b233 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -157,7 +157,7 @@ function updateExistingFactory(moduleFactoriesTarget: AnyWebpackRequire["m"], id } 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, // and let the correct logic apply (normal set, or defineModuleFactoryGetter setter) diff --git a/src/webpack/wreq.d.ts b/src/webpack/wreq.d.ts index 6dd40b84c..f865c4b6d 100644 --- a/src/webpack/wreq.d.ts +++ b/src/webpack/wreq.d.ts @@ -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. */ e: (this: WebpackRequire, chunkId: PropertyKey) => Promise; - /** 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; /** Get the filename for the js part of a chunk */ u: (this: WebpackRequire, chunkId: PropertyKey) => string;