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

Could we take this over the finish line by settling the lingering syntax questions?

I'm not a fan of this being addressed with special syntax, like `[foo]`. I propose we either canonicalize `void` to be a type for `undefined` (retroactively making `void foo()` methods into expressing their return type directly), or just the word `undefined` itself (and keep the `void foo()` syntax form as a legacy way of spelling `undefined foo()`).

I don't have a strong opinion either way, it would just be useful to have this issue settled and it should be a pretty easy fix.

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

Received on Friday, 24 July 2020 22:54:22 UTC