add: pwa
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user