diff --git a/example/package.json b/example/package.json index 43ffaffd..18198ea1 100644 --- a/example/package.json +++ b/example/package.json @@ -46,7 +46,7 @@ "@types/node-fetch": "^2.5.9", "@types/react": "~16.9.35", "@types/react-dom": "~16.9.8", - "@types/react-native": "~0.63.2", + "@types/react-native": "~0.64.4", "babel-loader": "^8.2.2", "babel-plugin-module-resolver": "^4.0.0", "babel-preset-expo": "8.3.0", diff --git a/packages/bottom-tabs/package.json b/packages/bottom-tabs/package.json index c79226ea..398a35d3 100644 --- a/packages/bottom-tabs/package.json +++ b/packages/bottom-tabs/package.json @@ -45,7 +45,7 @@ "@testing-library/react-native": "^7.2.0", "@types/color": "^3.0.1", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-native": "~0.63.4", diff --git a/packages/drawer/package.json b/packages/drawer/package.json index c7a38d72..c190b8e3 100644 --- a/packages/drawer/package.json +++ b/packages/drawer/package.json @@ -49,7 +49,7 @@ "@react-navigation/native": "^6.0.0-next.3", "@testing-library/react-native": "^7.2.0", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-native": "~0.63.4", diff --git a/packages/elements/package.json b/packages/elements/package.json index b83f332b..02c6e3f6 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -41,7 +41,7 @@ "@react-navigation/native": "^6.0.0-next.3", "@testing-library/react-native": "^7.2.0", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-native": "~0.63.4", diff --git a/packages/material-bottom-tabs/package.json b/packages/material-bottom-tabs/package.json index d6864f75..dbea4b29 100644 --- a/packages/material-bottom-tabs/package.json +++ b/packages/material-bottom-tabs/package.json @@ -44,7 +44,7 @@ "@react-navigation/native": "^6.0.0-next.3", "@testing-library/react-native": "^7.2.0", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "@types/react-native-vector-icons": "^6.4.6", "del-cli": "^3.0.1", "react": "~16.13.1", diff --git a/packages/material-top-tabs/package.json b/packages/material-top-tabs/package.json index 337b7584..bf20d8ac 100644 --- a/packages/material-top-tabs/package.json +++ b/packages/material-top-tabs/package.json @@ -48,7 +48,7 @@ "@react-navigation/native": "^6.0.0-next.3", "@testing-library/react-native": "^7.2.0", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-native": "~0.63.4", diff --git a/packages/native/package.json b/packages/native/package.json index 1a6ab12e..b393c2a5 100644 --- a/packages/native/package.json +++ b/packages/native/package.json @@ -45,7 +45,7 @@ "@testing-library/react-native": "^7.2.0", "@types/react": "^16.9.53", "@types/react-dom": "^16.9.8", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-dom": "^16.13.1", diff --git a/packages/stack/package.json b/packages/stack/package.json index 2111909c..dc2b6461 100644 --- a/packages/stack/package.json +++ b/packages/stack/package.json @@ -50,7 +50,7 @@ "@testing-library/react-native": "^7.2.0", "@types/color": "^3.0.1", "@types/react": "^16.9.53", - "@types/react-native": "~0.63.51", + "@types/react-native": "~0.64.4", "del-cli": "^3.0.1", "react": "~16.13.1", "react-native": "~0.63.4", diff --git a/packages/stack/src/views/Stack/CardContainer.tsx b/packages/stack/src/views/Stack/CardContainer.tsx index 9981f69e..2214aa77 100644 --- a/packages/stack/src/views/Stack/CardContainer.tsx +++ b/packages/stack/src/views/Stack/CardContainer.tsx @@ -156,7 +156,6 @@ function CardContainer({ ); React.useEffect(() => { - // @ts-expect-error: AnimatedInterpolation optionally has addListener, but the type defs don't think so const listener = scene.progress.next?.addListener?.( ({ value }: { value: number }) => { setPointerEvents(value <= EPSILON ? 'box-none' : 'none'); @@ -165,7 +164,6 @@ function CardContainer({ return () => { if (listener) { - // @ts-expect-error: AnimatedInterpolation optionally has removedListener, but the type defs don't think so scene.progress.next?.removeListener?.(listener); } }; diff --git a/yarn.lock b/yarn.lock index 53572f6f..c12cf2f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3677,10 +3677,10 @@ dependencies: "@types/react" "*" -"@types/react-native@~0.63.2", "@types/react-native@~0.63.51": - version "0.63.52" - resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.63.52.tgz#449beb4a413ec0f2c172cbf676a95f5b0952adf4" - integrity sha512-sBXvvtJaIUSXQLDh9NZitx1KHkKUdBLZy34lFKJaIXtpHIh5OEbBXeyUTFBtFwjk/RD0tneAtUqsdhheZRzAzw== +"@types/react-native@~0.64.4": + version "0.64.4" + resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.64.4.tgz#9f11bef7dd5520801884829c73b19d75aa42e73c" + integrity sha512-VqnlmadGkD5usREvnuyVpWDS1W8f6cCz6MP5fZdgONsaZ9/Ijfb9Iq9MZ5O3bnW1OyJixDX9HtSp3COsFSLD8Q== dependencies: "@types/react" "*"