- From: Jake Archibald <notifications@github.com>
- Date: Tue, 08 Jan 2019 07:45:32 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 January 2019 15:45:54 UTC
@domenic the problem is more that the type of `OptionsDictionaryType` is dictated by the value of `EnumType`.
```js
router.add(conditions, [
// Valid
['network', { request: '/' }],
// Valid
['cache', { ignoreSearch: true }],
// Invalid. ignoreSearch is not an option for the network source.
['network', { ignoreSearch: true }],
]);
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1373#issuecomment-452345695
Received on Tuesday, 8 January 2019 15:45:54 UTC