Urara-Blog/node_modules/.pnpm-store/v3/files/44/3cedbb52b42c2222f76a0070771bba6fdfa5729f6289c8c8a6c921d003e0b4e488515ab7b414fa39965787752edb9c4df50b5d96b6999a22c80c44d974fc7a
2022-08-14 01:14:53 +08:00

13 lines
466 B
Text

import { RouteHandler } from 'workbox-core/types.js';
import './_version.js';
/**
* If a Route throws an error while handling a request, this `handler`
* will be called and given a chance to provide a response.
*
* @param {workbox-routing~handlerCallback} handler A callback
* function that returns a Promise resulting in a Response.
*
* @memberof workbox-routing
*/
declare function setCatchHandler(handler: RouteHandler): void;
export { setCatchHandler };