Urara-Blog/node_modules/.pnpm-store/v3/files/09/358a102933cb8aca678e8aa0d881dbd1f90d745d131e852e9579a7d5d3f4dcb33ea41cc23b2d6506bdd69fb6abdcce39447ad9f57ccce943d4478201f7a812
2022-08-14 01:14:53 +08:00

24 lines
575 B
Text

/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
import './_version.js';
// Give TypeScript the correct global.
declare let self: ServiceWorkerGlobalScope;
/**
* @return {boolean} Whether or not the current browser supports enabling
* navigation preload.
*
* @memberof workbox-navigation-preload
*/
function isSupported(): boolean {
return Boolean(self.registration && self.registration.navigationPreload);
}
export {isSupported};