Urara-Blog/node_modules/.pnpm-store/v3/files/86/14efabad21fe36b9f57c2ac2bb5224e26d16bf5a7faaef54cb480eca0eddd64a3570ca3f671ca258c3ef83371c80278cefcc4b1614979aeaa7161c8fe98a03
2022-08-14 01:14:53 +08:00

16 lines
567 B
Text

import { RouteHandler } from 'workbox-core/types.js';
import './_version.js';
/**
* Define a default `handler` that's called when no routes explicitly
* match the incoming request.
*
* Without a default handler, unmatched requests will go against the
* network as if there were no service worker present.
*
* @param {workbox-routing~handlerCallback} handler A callback
* function that returns a Promise resulting in a Response.
*
* @memberof workbox-routing
*/
declare function setDefaultHandler(handler: RouteHandler): void;
export { setDefaultHandler };