v1.0 with SW PWA enabled
This commit is contained in:
13
frontend/node_modules/workbox-routing/setCatchHandler.d.ts
generated
vendored
Normal file
13
frontend/node_modules/workbox-routing/setCatchHandler.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user