Which package manager are you using? (Yarn is recommended)
yarn
Summary
When using Tabs.Screen or any other navigation, the listener prop do not have types.
Expected behaviour is to have types
Minimal reproducible example
_layout.tsx
import { Tabs } from "expo-router";
export default function RootLayout() {
return (
<Tabs>
<Tabs.Screen name="index" listeners={{
// here there should be typescript intellisense
}} />
</Tabs>
);
}
Which package manager are you using? (Yarn is recommended)
yarn
Summary
When using
Tabs.Screen
or any other navigation, the listener prop do not have types. Expected behaviour is to have typesMinimal reproducible example
_layout.tsx