You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@MaxGraey looks like you changed this to return a ArrayBufferView in #865. So you dont get intellisense if you wrap a ArrayBuffer in a typed array unless you cast/assert it back.
letbuf=newArrayBuffer(32)letarr=Uint8Array.wrap(buf)//<-type is ArrayBufferViewletl=arr.length//<-failsletl=(arrasUint8Array).length//<-works
I was going to PR but I figured i should ask if there was a reason first.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
assemblyscript/std/assembly/index.d.ts
Line 1224 in ce0457e
@MaxGraey looks like you changed this to return a ArrayBufferView in #865. So you dont get intellisense if you wrap a ArrayBuffer in a typed array unless you cast/assert it back.
I was going to PR but I figured i should ask if there was a reason first.
The text was updated successfully, but these errors were encountered: