This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/workbox-routing/utils/normalizeHandler.d.ts

11 lines
357 B
TypeScript
Raw Normal View History

2025-06-13 06:04:40 +00:00
import { RouteHandler, RouteHandlerObject } from 'workbox-core/types.js';
import '../_version.js';
/**
* @param {function()|Object} handler Either a function, or an object with a
* 'handle' method.
* @return {Object} An object with a handle method.
*
* @private
*/
export declare const normalizeHandler: (handler: RouteHandler) => RouteHandlerObject;