fix typos

This commit is contained in:
Nuckyz 2024-05-26 19:27:52 -03:00
parent 18142ecccb
commit c2047e5f3b
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -66,7 +66,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. * 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 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: * 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 * @example
* const factory = (module, exports, wreq) => { * const factory = (module, exports, wreq) => {
* wreq.a(module, async (handleAsyncDependencies, asyncResult) => { * wreq.a(module, async (handleAsyncDependencies, asyncResult) => {