WebAssembly's MemoryDescriptor is missing an argument #42182
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
(I'm not sure filing in this repo is the right workflow; the contribution guidelines for Typescript-DOM-lib-generator say to first open an issue in this repo, while this repo's issue template says to directly go to Typescript-DOM-lib-generator.)
lib Update Request
Configuration Check
My compilation target is
ES2015
and my lib isthe default
.Missing / Incorrect Definition
The
WebAssembly.Memory()
constructor takes aMemoryDescriptor
which is missing types for the keyshared: boolean
.Sample Code
https://www.typescriptlang.org/play?#code/HYUw7gBA6iBGCCBnRIC2sA2BPAdAWTQHsAnLACgG8AoCWiAS2HoBd6BDDALggA4AGADQ06qNgA96qAK6pu-IXQiIAFm2IgAJt2bEpIARAD0hiM2X1ES5YSkYNEWCAgA3DvQ1UAvgEogA
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory/Memory#Parameters
The text was updated successfully, but these errors were encountered: