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

> This is pretty easy to do in TypeScript, but I don't think it's possible in WebIDL (@domenic, am I correct here?).

Right, you'd need to add a bit of prose. The type would be `sequence<EnumType, OptionsDictionaryType>` and then you'd use prose to validate that the sequence is length 2, and each index is as expected.

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

Received on Tuesday, 8 January 2019 15:36:48 UTC