Skip to content

Commit 09bc0dc

Browse files
committed
Fix TS errors
1 parent 5735a83 commit 09bc0dc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"react": "17.0.1",
100100
"react-autobind": "^1.0.6",
101101
"react-dom": "^15.4.2",
102-
"react-native":"0.64.1",
102+
"react-native": "0.64.1",
103103
"react-native-gesture-handler": "1.10.3",
104104
"react-native-haptic-feedback": "^1.11.0",
105105
"react-native-keyboard-tracking-view": "^5.6.1",

src/helpers/Constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ const constants = {
131131
},
132132
/* Dimensions */
133133
removeDimensionsEventListener: (callback: any) => {
134+
// @ts-expect-error
134135
if (Dimensions.remove) {
136+
// @ts-expect-error
135137
Dimensions.remove('change', callback);
136138
} else {
137139
Dimensions.removeEventListener('change', callback);

0 commit comments

Comments
 (0)