Re: [heycam/webidl] undefined can't be a member of a union type (#962)

Yeah, planning to let an explicit `undefined` in a union win out over both nullable and dictionary conversions, so it would be meaningful to have `(undefined or Foo?)` and `(undefined or MyDict)`; passing a JS `undefined` would yield the IDL undefined in both cases, rather than a null'd Foo or defaulted MyDict.

-- 
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/962#issuecomment-799589836

Received on Monday, 15 March 2021 17:10:37 UTC