GoScrobble/web/node_modules/workbox-precaching/utils/createCacheKey.d.ts

18 lines
445 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import { PrecacheEntry } from '../_types.js';
import '../_version.js';
interface CacheKey {
cacheKey: string;
url: string;
}
/**
* Converts a manifest entry into a versioned URL suitable for precaching.
*
* @param {Object|string} entry
* @return {string} A URL with versioning info.
*
* @private
* @memberof module:workbox-precaching
*/
export declare function createCacheKey(entry: PrecacheEntry | string): CacheKey;
export {};