Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update match() to operate on Requests per discussion with network team.

  • Loading branch information...
commit ce5f2f86cc63639b20d68594ad3dc0f800a7c1a8 1 parent 3664460
@slightlyoff authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  service_worker.ts
View
3  service_worker.ts
@@ -528,7 +528,8 @@ class Cache {
}
// Match a URL or a string
- match(name:URL) : Promise;
+ match(req:Request) : Promise;
+ match(req:URL) : Promise;
match(name:string) : Promise;
// "any" to make the TS compiler happy:
match(name:any) : Promise {
Please sign in to comment.
Something went wrong with that request. Please try again.