From c9c09b95a3f8faa99f29ac3b0725df57bcb4d539 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 28 May 2024 03:35:38 -0300 Subject: [PATCH] fix typo --- src/webpack/wreq.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webpack/wreq.d.ts b/src/webpack/wreq.d.ts index fe393a4c1..246682f64 100644 --- a/src/webpack/wreq.d.ts +++ b/src/webpack/wreq.d.ts @@ -76,7 +76,7 @@ export type WebpackRequire = ((moduleId: PropertyKey) => Module) & { /** * 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 {@link AsyncModulePromise}. + * The body function must be an async function. "module.exports" will become an {@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 @@ -84,7 +84,7 @@ export type WebpackRequire = ((moduleId: PropertyKey) => Module) & { * wreq.a(module, async (handleAsyncDependencies, asyncResult) => { * try { * const asyncRequireA = wreq(...); - * + * * const asyncDependencies = handleAsyncDependencies([asyncRequire]); * const [requireAResult] = asyncDependencies.then != null ? (await asyncDependencies)() : asyncDependencies; *