Generics, Typescript infer params type from prop value
Summary The issue at hand is related to TypeScript generics and type inference in a React Native application using React Navigation. The goal is to have TypeScript infer the type of the params prop based on the navTo prop value without having to specify the key in the generic type. This would simplify the usage … Read more