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:
1 parent
4709230092
commit
0f391ccbff
1 file changed
+16
Vendored
+16
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user