Re: [heycam/webidl] void -> undefined, and allow it anywhere. (#906)

> I think `optional` or `= undefined` should be used instead of making a union in an argument, unless I missed something. Probably return type is the only place that a undefined union makes sense.

Good point... Hmm. Is that something that the grammar can prevent? Otherwise we should add a prose restriction.

-- 
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/pull/906#issuecomment-670548844

Received on Friday, 7 August 2020 14:37:20 UTC