lib: add `WebAssembly` to `primordials`
This is used to handle support for WebAssembly modules and static analysis of named exports from CommonJS modules.
Note that adding WebAssembly types to /typings/primordials.d.ts
depends on https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/959 in order to avoid adding lib: ["DOM"]
to tsconfig.json
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines