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

I'm similarly not keen on the use of classes.

As far as I know, WebIDL doesn't let an object's type be conditional on the value of a previous argument. This makes it tricky when it comes to source options. But you might be able to do it with object keys like above. I'll have a play.

The main thing I'm worried about is feature detection.

-- 
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-452198793

Received on Tuesday, 8 January 2019 07:19:01 UTC