File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import { meta, metaRuntime } from './meta'
88import { workbox } from './workbox'
99
1010interface PWAOptions {
11- meta ?: MetaOptions | false
12- icon ?: IconOptions | false
13- workbox ?: WorkboxOptions | false
14- manifest ?: ManifestOptions | false
11+ meta ?: Partial < MetaOptions > | false
12+ icon ?: Partial < IconOptions > | false
13+ workbox ?: Partial < WorkboxOptions > | false
14+ manifest ?: Partial < ManifestOptions > | false
1515}
1616
1717export default async function pwa ( moduleOptions : PWAOptions ) {
@@ -70,11 +70,11 @@ export default async function pwa (moduleOptions: PWAOptions) {
7070
7171declare module '@nuxt/types/config/index' {
7272 interface NuxtOptions {
73- pwa ?: PWAOptions
74- meta ?: MetaOptions | false
75- icon ?: IconOptions | false
76- workbox ?: WorkboxOptions | false
77- manifest ?: ManifestOptions | false
73+ pwa ?: Partial < PWAOptions >
74+ meta ?: Partial < MetaOptions > | false
75+ icon ?: Partial < IconOptions > | false
76+ workbox ?: Partial < WorkboxOptions > | false
77+ manifest ?: Partial < ManifestOptions > | false
7878 }
7979}
8080
You can’t perform that action at this time.
0 commit comments