Skip to content

Commit ff9d868

Browse files
authoredOct 8, 2020
Adjust PrecacheEntry type to allow null revisions (#2645)
The revision should be set to null when the revisioning information is in the URL itself.
1 parent ae29e17 commit ff9d868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/workbox-precaching/src/_types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface CleanupResult {
2020
export interface PrecacheEntry {
2121
integrity?: string;
2222
url: string;
23-
revision?: string;
23+
revision?: string | null;
2424
}
2525
export interface PrecacheRouteOptions {
2626
directoryIndex?: string;

0 commit comments

Comments
 (0)
Please sign in to comment.