-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate WebAssembly types from lib.dom.d.ts
into their own file
#826
Comments
lib.dom.d.ts
into their own filelib.dom.d.ts
into their own file
+1 Currently I can't define |
@Semigradsky That’s unrelated to this. Your case is happening because you’re defining them using |
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. ↩
The text was updated successfully, but these errors were encountered: