You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
438 B
18 lines
438 B
2 years ago
|
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 workbox-precaching
|
||
|
*/
|
||
|
export declare function createCacheKey(entry: PrecacheEntry | string): CacheKey;
|
||
|
export {};
|