Skip to content

Separate WebAssembly types from lib.dom.d.ts into their own file #826

Open
@ExE-Boss

Description

@ExE-Boss

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

  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions