diff --git a/src/pwa.ts b/src/pwa.ts index 0409193e..86379fa5 100755 --- a/src/pwa.ts +++ b/src/pwa.ts @@ -8,10 +8,10 @@ import { meta, metaRuntime } from './meta' import { workbox } from './workbox' interface PWAOptions { - meta?: MetaOptions | false - icon?: IconOptions | false - workbox?: WorkboxOptions | false - manifest?: ManifestOptions | false + meta?: Partial | false + icon?: Partial | false + workbox?: Partial | false + manifest?: Partial | false } export default async function pwa (moduleOptions: PWAOptions) { @@ -70,11 +70,11 @@ export default async function pwa (moduleOptions: PWAOptions) { declare module '@nuxt/types/config/index' { interface NuxtOptions { - pwa?: PWAOptions - meta?: MetaOptions | false - icon?: IconOptions | false - workbox?: WorkboxOptions | false - manifest?: ManifestOptions | false + pwa?: Partial + meta?: Partial | false + icon?: Partial | false + workbox?: Partial | false + manifest?: Partial | false } }