Re: [heycam/webidl] add a type to represent the undefined value (#60)

I've got another case of this, and it's also about maplikes - I want to write a custom `.get()`, but it looks like I have to set its return type to `any` so that I can properly return `undefined`.

(I first tried to use `(void or CSSStyleValue)`, but that's not allowed per the grammar.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/60#issuecomment-361117358

Received on Monday, 29 January 2018 01:35:56 UTC