UNPKG
@reactgjs/react-gtk
Version:
beta (0.0.1-beta.2)
latest (0.0.1-beta.2)
0.0.1-beta.2
## Getting Started
github.com/react-gjs/react-gtk
@reactgjs/react-gtk
/
polyfills
/
esm
/
buffer.mjs
9 lines
(8 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
// src/polyfills/buffer.ts
import
{
Buffer
as
BufferPolyfill
}
from
"buffer"
;
import
{ registerPolyfills }
from
"./shared/polyfill-global.mjs"
;
registerPolyfills
(
"Buffer"
)(
() =>
{
return
{
Buffer
:
BufferPolyfill
}; });