UNPKG

438 BTypeScriptView Raw
1import { PrecacheEntry } from '../_types.js';
2import '../_version.js';
3interface CacheKey {
4 cacheKey: string;
5 url: string;
6}
7/**
8 * Converts a manifest entry into a versioned URL suitable for precaching.
9 *
10 * @param {Object|string} entry
11 * @return {string} A URL with versioning info.
12 *
13 * @private
14 * @memberof workbox-precaching
15 */
16export declare function createCacheKey(entry: PrecacheEntry | string): CacheKey;
17export {};