elk/modules/pwa/types.ts
2022-12-17 23:29:16 +00:00

12 lines
327 B
TypeScript

import type { VitePWAOptions } from 'vite-plugin-pwa'
export interface VitePWANuxtOptions extends Partial<VitePWAOptions> {}
declare module '@nuxt/schema' {
interface NuxtConfig {
pwa?: { [K in keyof VitePWANuxtOptions]?: Partial<VitePWANuxtOptions[K]> }
}
interface NuxtOptions {
pwa: VitePWANuxtOptions
}
}