Re: [whatwg/webidl] An undefined dictionary member in IDL->JS conversion: exist or not? (Issue #1094)

> Yes, I think using `(ArrayBufferView or undefined)` is the way to go, or if that doesn't work for some reason then using `any` since this is just a return-value dictionary and so its IDL types don't really matter.

@domenic I had forgotten about this too, but the WebIDL spec currently disallows `undefined` in dictionary members (directly or in a union), so sadly I think the only valid option would be `any`.



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

Message ID: <whatwg/webidl/issues/1094/1096551861@github.com>

Received on Tuesday, 12 April 2022 10:38:17 UTC