chore(lib/modules/finders/lookup): move LookupModulesOptions.initialize clarification comment

This commit is contained in:
PalmDevs 2026-08-01 15:32:07 +07:00
parent 752f3b1c7e
commit ff410cbb25
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -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<