chore: lint

This commit is contained in:
Daniel Roe 2024-08-08 11:20:29 +01:00
parent 45d92d67ee
commit cab9e5c356
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -58,10 +58,10 @@ function _defineNuxtModule<
inlineOptions?: Partial<TOptions>,
nuxt: Nuxt = useNuxt(),
): Promise<
TWith extends true
? ResolvedModuleOptions<TOptions, TOptionsDefaults>
: TOptions
> {
TWith extends true
? ResolvedModuleOptions<TOptions, TOptionsDefaults>
: TOptions
> {
const nuxtConfigOptionsKey = module.meta.configKey || module.meta.name
const nuxtConfigOptions: Partial<TOptions> = nuxtConfigOptionsKey && nuxtConfigOptionsKey in nuxt.options ? nuxt.options[<keyof NuxtOptions> nuxtConfigOptionsKey] : {}