Re: [w3c/ServiceWorker] Declarative routing (#1373)

@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