Files
dkala-front/next-pwa.d.ts
T
2026-02-07 15:31:22 +03:30

19 lines
397 B
TypeScript

declare module 'next-pwa' {
import type { NextConfig } from 'next';
type WithPWA = (nextConfig: NextConfig) => NextConfig;
interface NextPWAOptions {
dest: string;
register?: boolean;
skipWaiting?: boolean;
disable?: boolean;
buildExcludes?: string[];
[key: string]: unknown;
}
const withPWA: (options: NextPWAOptions) => WithPWA;
export default withPWA;
}