From 8fa19656ae49cb89c3031908569611484241cad9 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:07:50 -0300 Subject: [PATCH] fix grammar --- src/webpack/patchWebpack.ts | 2 +- src/webpack/wreq.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;