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
Currently we use the type ArrayBufferLike for Host.outputBytes. But this is too restrictive. It doesn't accept typed array buffers. Which means that the user needs to unwrap their buffer. Example:
Currently we use the type ArrayBufferLike for
Host.outputBytes
. But this is too restrictive. It doesn't accept typed array buffers. Which means that the user needs to unwrap their buffer. Example:Ideally it could take typed and untyped buffers, but i'm not sure if typescript has a known type for this. We could create one like:
The text was updated successfully, but these errors were encountered: