mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
18 lines
445 B
TypeScript
18 lines
445 B
TypeScript
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 {};
|