feat: Emit WebAssembly types separately from DOM types
Fixes https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826
~~Note that I’d prefer if there was a way to filter based on the source WebIDL file, rather than the current Flavor const enum approach.~~ This now uses a custom Exposed value of WebAssembly, which is less hackish.
Also, namespace WebAssembly should be omitted from dom and webworker apart from compileStreaming and instantiateStreaming, which is why this leaves https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/826 open.
Depends on:
- [x] ~~https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/962~~ (merged)
See also:
- https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/961
- https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/963
- https://github.com/microsoft/TypeScript/issues/43972
review?(@saschanaz)
I’ve marked this as a draft, because this depends on https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/962 ~~and https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/963~~.
@sandersn Any chance this can get reviewed?
@saltman424 This PR needs to be redone, as there were many changes to this since I last touched this.