Open
Description
Currently, if you wish to use WebAssembly, you need to include lib.dom.d.ts
, even in cases where that’s incorrect (e.g.: NodeJS or Deno).
The solution would be to move non‑web‑specific1 WebAssembly types to a new lib.wasm.d.ts
file.
See also: #211
Footnotes
-
Web‑specific WebAssembly types are those defined in https://webassembly.github.io/spec/web-api/index.html.
Non‑web‑specific WebAssembly types are those defined in https://webassembly.github.io/spec/js-api/index.html. ↩
Metadata
Metadata
Assignees
Labels
No labels