chore(lib/modules/finders/lookup): move LookupModulesOptions.initialize clarification comment
This commit is contained in:
parent
752f3b1c7e
commit
ff410cbb25
1 changed files with 5 additions and 3 deletions
|
|
@ -31,15 +31,17 @@ export type LookupModulesOptions<
|
|||
cached?: boolean
|
||||
} & If<
|
||||
Not<Initialize>,
|
||||
{
|
||||
initialize: false
|
||||
},
|
||||
{
|
||||
/**
|
||||
* Whether to initialize matching uninitialized modules.
|
||||
*
|
||||
* **This will initialize any modules that match the exportsless filter and may cause unintended side effects.**
|
||||
*/
|
||||
initialize: false
|
||||
},
|
||||
{ initialize?: true }
|
||||
initialize?: true
|
||||
}
|
||||
>
|
||||
|
||||
export type LookupModulesResult<
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue