From 9b4009d7185ce403ab760c7c6ccd58505d4e1fe6 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Tue, 23 Oct 2018 20:31:57 -0400 Subject: [PATCH] Remove service worker types from the main install --- packages/react-scripts/template/src/serviceWorker.d.ts | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 packages/react-scripts/template/src/serviceWorker.d.ts 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