Skip to content

Commit dfdaec8

Browse files
committed
fix: eslint errors
1 parent 4b45c2b commit dfdaec8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/src/initGlobals.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { Buffer as CraftzdogBuffer } from '@craftzdog/react-native-buffer'
22

33
declare global {
4+
// eslint-disable-next-line no-var
45
var Buffer: typeof CraftzdogBuffer
56
}
67

78
if (!globalThis.process) {
8-
// @ts-expect-error
9+
// @ts-expect-error - if process is not defined, we need to set it to an empty object
910
globalThis.process = {}
1011
}
1112

0 commit comments

Comments
 (0)