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.
Activity
MaxGraey commentedon Nov 7, 2019
@jtenner it still problematic
MaxGraey commentedon Nov 7, 2019
But we could try something like this
MaxGraey commentedon Nov 7, 2019
Ok,
final solution.But that's little complicated. May be somebody know better?MaxGraey commentedon Nov 16, 2019
Fixed in #939