We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b45c2b commit dfdaec8Copy full SHA for dfdaec8
example/src/initGlobals.ts
@@ -1,11 +1,12 @@
1
import { Buffer as CraftzdogBuffer } from '@craftzdog/react-native-buffer'
2
3
declare global {
4
+ // eslint-disable-next-line no-var
5
var Buffer: typeof CraftzdogBuffer
6
}
7
8
if (!globalThis.process) {
- // @ts-expect-error
9
+ // @ts-expect-error - if process is not defined, we need to set it to an empty object
10
globalThis.process = {}
11
12
0 commit comments