fix: add next-pwa type declaration for strict tsc

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ryaneggzandClaude Opus 4.6 committed 2026-04-06 20:47:41 -06:00
1 parent 4709230092
commit 0f391ccbff
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
declare module "next-pwa" {
import type { NextConfig } from "next";
interface PWAConfig {
dest?: string;
disable?: boolean;
register?: boolean;
scope?: string;
sw?: string;
[key: string]: unknown;
}
export default function withPWA(
config?: PWAConfig,
): (nextConfig: NextConfig) => NextConfig;
}