webassemblyjs icon indicating copy to clipboard operation
webassemblyjs copied to clipboard

Wrong types in JS API

Open chicoxyzzy opened this issue 7 years ago • 1 comments

Some types are incorrect, for example WebAssembly.compile accepts only ArrayBuffer, but it should accept BufferSource instead

chicoxyzzy avatar Dec 10 '18 17:12 chicoxyzzy

Yes, we have a few inconsistencies. The switch to the Web IDL spec also introduced more of them.

xtuc avatar Dec 10 '18 18:12 xtuc