create-next-core-base
Version:
CLI tool to create Next Base projects with feature selection
16 lines (13 loc) • 324 B
TypeScript
declare module "next-pwa" {
import { NextConfig } from "next";
interface PWAOptions {
dest: string;
disable?: boolean;
register?: boolean;
skipWaiting?: boolean;
buildExcludes?: RegExp[];
}
export default function withPWA(
config: PWAOptions,
): (nextConfig: NextConfig) => NextConfig;
}