source: frontend/node_modules/workbox-routing/setCatchHandler.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 466 bytes
Line 
1import { RouteHandler } from 'workbox-core/types.js';
2import './_version.js';
3/**
4 * If a Route throws an error while handling a request, this `handler`
5 * will be called and given a chance to provide a response.
6 *
7 * @param {workbox-routing~handlerCallback} handler A callback
8 * function that returns a Promise resulting in a Response.
9 *
10 * @memberof workbox-routing
11 */
12declare function setCatchHandler(handler: RouteHandler): void;
13export { setCatchHandler };
Note: See TracBrowser for help on using the repository browser.