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

> Probably not. In a union, tho, definitely yes.

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.

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

Received on Friday, 7 August 2020 12:41:03 UTC