Re: [heycam/webidl] Improve the definition of the void type. (#757)

bathos commented on this pull request.



> @@ -5536,6 +5536,15 @@ value is known as its <dfn id="dfn-specific-type" export>specific type</dfn>.
 (Values of [=union types=] also have
 [=specific types=].)
 
+<h4 id="idl-void" interface>void</h4>
+
+The {{void}} type has a unique value.
+
+It can only be used as the [=return type=] of an [=operation=] or the parameter of a
+[=promise type=].
+
+The [=type name=] of the {{void}} type is "<code>Void</code>".

Nice catch, I see it’s needed to assemble the "VoidPromise" type name.

-- 
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/757#pullrequestreview-256949794

Received on Tuesday, 2 July 2019 14:55:06 UTC