serwist
Version:
A Swiss Army knife for service workers.
15 lines • 593 B
TypeScript
/**
* Helper function that calls {@linkcode PrecacheController.matchPrecache}
* on the default {@linkcode PrecacheController} instance.
*
* If you are creating your own {@linkcode PrecacheController}, then call
* the {@linkcode PrecacheController.matchPrecache} function on that instance
* instead of using this function.
*
* @param request The key (without revisioning parameters)
* to look up in the precache.
* @returns
* @deprecated
*/
export declare const matchPrecache: (request: string | Request) => Promise<Response | undefined>;
//# sourceMappingURL=matchPrecache.d.ts.map