Skip to content

WebAssembly's MemoryDescriptor is missing an argument #42182

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

Closed
timhwang21 opened this issue Jan 2, 2021 · 0 comments · Fixed by microsoft/TypeScript-DOM-lib-generator#967
Closed
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

Comments

@timhwang21
Copy link

(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 is the default.

Missing / Incorrect Definition

The WebAssembly.Memory() constructor takes a MemoryDescriptor which is missing types for the key shared: 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

@RyanCavanaugh RyanCavanaugh added 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 labels Jan 6, 2021
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
2 participants