Re: [webidl] Allow constructor<ClassType> as a type accepted by functions. (#101)

Hmm, I still don't know what you mean by shape. The only thing it checks at this point is IsConstructor.

Later, it does a bunch of checks on the return value of the constructor; see https://w3c.github.io/webcomponents/spec/custom/#dfn-create-element 4.1.3-4.1.10. But I don't see a way to enforce that in the type definition.

---
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/101#issuecomment-201018655

Received on Thursday, 24 March 2016 21:01:04 UTC