From 18142ecccb62b1ced32299fbd797a19fae477cd3 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sun, 26 May 2024 19:26:26 -0300 Subject: [PATCH] fix doc --- src/webpack/wreq.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/wreq.d.ts b/src/webpack/wreq.d.ts index 2e8ece8f1..ab1f43c53 100644 --- a/src/webpack/wreq.d.ts +++ b/src/webpack/wreq.d.ts @@ -65,7 +65,7 @@ export type WebpackRequire = ((moduleId: PropertyKey) => Module) & { es: (this: WebpackRequire, fromObject: Record, toObject: Record) => Record; /** * Creates an async module. A module that exports something that is a Promise, or requires an export from an async module. - * The body function must be an async function. "module.exports" will become a Promise. + * The body function must be an async function. "module.exports" will become a AsyncModulePromise. * The body function will be called with a function to handle requires that import from an async module, and a function to resolve this async module. An example to handle async depedencies: * @example * const factory = (module, exports, wreq) => {