UNPKG

@serwist/turbopack

Version:

A module that integrates Serwist into your Next.js / Turbopack application.

16 lines 522 B
import { Serwist } from "@serwist/window"; import { type ReactNode } from "react"; export interface SerwistProviderProps { swUrl: string; register?: boolean; reloadOnOnline?: boolean; options?: RegistrationOptions; children?: ReactNode; } declare global { interface Window { serwist: Serwist; } } export declare function SerwistProvider({ swUrl, register, reloadOnOnline, options, children }: SerwistProviderProps): import("react").JSX.Element; //# sourceMappingURL=index.react.d.ts.map