From 513d9f4209ad6e9de696a8dcc228cffa2355affd Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 28 May 2024 03:34:40 -0300 Subject: [PATCH] I knew I was forgetting something --- src/webpack/wreq.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/webpack/wreq.d.ts b/src/webpack/wreq.d.ts index de392668b..fe393a4c1 100644 --- a/src/webpack/wreq.d.ts +++ b/src/webpack/wreq.d.ts @@ -75,7 +75,9 @@ 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 AsyncModulePromise. + * + * The body function must be an async function. "module.exports" will become a {@link 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 on how to handle async dependencies: * @example * const factory = (module, exports, wreq) => {