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 11192c4 commit 3c07958Copy full SHA for 3c07958
versioned_docs/version-5.x/typescript.md
@@ -252,7 +252,7 @@ import { NavigationContainerRef } from '@react-navigation/native';
252
253
// ...
254
255
-const navigationRef = React.useRef<NavigationContainerRef>(null);
+const navigationRef = React.useRef<NavigationContainerRef<{}>>(null);
256
```
257
258
Example when using `React.createRef`:
0 commit comments