fix: Fix AppState.removeListener warning by using new API (#419)
* refactor: suppress AppState.removeListener warning by deprecation AppState.AddEventListener returns a remove function subscription, which replaces the removeListener method * fix: Property 'remove' does not exist on type 'void' * chore: add missing trailing comma * chore: update react-native static types version
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"@react-native-community/eslint-config": "^3.0.0",
|
||||
"@react-native-community/eslint-plugin": "^1.1.0",
|
||||
"@types/react": "^17.0.19",
|
||||
"@types/react-native": "^0.64.13",
|
||||
"@types/react-native": "^0.65.0",
|
||||
"@types/react-native-vector-icons": "^6.4.6",
|
||||
"@types/react-native-video": "^5.0.5",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
|
||||
Reference in New Issue
Block a user