diff --git a/packages/react-scripts/template/src/serviceWorker.d.ts b/packages/react-scripts/template/src/serviceWorker.d.ts deleted file mode 100644 index e30541a5450..00000000000 --- a/packages/react-scripts/template/src/serviceWorker.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export type Config = { - onSuccess?: (registration: ServiceWorkerRegistration) => void - onUpdate?: (registration: ServiceWorkerRegistration) => void -} - -export function register(config: Config): void - -export function unregister(): void