webidl2js
webidl2js copied to clipboard
Add support for imported types
This only requires that the imported module exports the validate (and eventually expose) method.
Unlike https://github.com/jsdom/webidl2js/pull/109, this works cross‑realm by not using instanceof on the wrappers.
Fixes https://github.com/jsdom/webidl2js/issues/69 Supersedes and closes https://github.com/jsdom/webidl2js/pull/109