util.js:33 Uncaught ReferenceError: Buffer is not defined code example
Example: ReferenceError: Buffer is not defined
(window as any).global = window;
// @ts-ignore
window.Buffer = window.Buffer || require('buffer').Buffer;
(window as any).global = window;
// @ts-ignore
window.Buffer = window.Buffer || require('buffer').Buffer;