diff --git a/packages/workbox-navigation-preload/src/enable.ts b/packages/workbox-navigation-preload/src/enable.ts index 5ac34c371..5f5c7c7d0 100644 --- a/packages/workbox-navigation-preload/src/enable.ts +++ b/packages/workbox-navigation-preload/src/enable.ts @@ -24,7 +24,7 @@ declare var self: ServiceWorkerGlobalScope; * * @memberof workbox.navigationPreload */ -function enable(headerValue: string) { +function enable(headerValue?: string) { if (isSupported()) { self.addEventListener('activate', (event: ExtendableEvent) => { event.waitUntil(