I use React Navigation V5. I want to get the params type of specific route. For example, if my StackParamList is:
type StackParamList = { FirstRoute: { someNumber: number; someString: number;// etc }}
and assume I want the type of FirstRoute
, then the type I want is:
{ someNumber: number; someString: number;// etc }
Thanks ahead.