Skip to content

Commit

Permalink
Adjust PrecacheEntry type to allow null revisions (#2645)
Browse files Browse the repository at this point in the history
The revision should be set to null when the revisioning information is in the URL itself.
  • Loading branch information
Manduro committed Oct 8, 2020
1 parent ae29e17 commit ff9d868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workbox-precaching/src/_types.ts
Expand Up @@ -20,7 +20,7 @@ export interface CleanupResult {
export interface PrecacheEntry {
integrity?: string;
url: string;
revision?: string;
revision?: string | null;
}
export interface PrecacheRouteOptions {
directoryIndex?: string;
Expand Down

0 comments on commit ff9d868

Please sign in to comment.