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
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2026. It is now read-only.
I ran into this because the TypeScript .d.ts has toBuffer return
ArrayBuffer in node, which then causes incorrect compilation errors. Any
ideas on how to avoid that?
Daniel Wirtz <notifications@github.com> schrieb am Di., 27. Feb. 2018 um
17:58 Uhr:
Activity
dcodeIO commentedon Feb 27, 2018
Iirc the docs have been generated from the browser version, where it's all ArrayBuffer.
mprobst commentedon Feb 27, 2018
dcodeIO commentedon Feb 27, 2018
As a workaround, you could try to wrap the result of
toBuffer()in aBuffer.from(...).