I am following the react navigation documentation. I did all the installations. I'm using react native expo in the latest version (0.63). When I create a screen or create a function from within app.tsx, I have the following problem.
As described here, you can do the following:
...
function HomeScreen({ navigation }: { navigation: any} {
...