- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 27 Mar 2020 06:02:39 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 27 March 2020 13:02:52 UTC
In #827 the idea came up that now that we have unions we could handle null in a generalized way. That is, rather than `DOMString?`, you would write `(DOMString or null)`. I like that this adds a lot of clarity with regards to the allowed values, but I do worry a bit about the verbosity. We might want to add a typedef for `NullableDOMString` or some such. -- 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/866
Received on Friday, 27 March 2020 13:02:52 UTC