DÉPASSION DE REATS SIGNIFIQUE
This website has a very good article on the usage of typescript + react + context:
https://dev.to/elisealcala/react-context-with-usereducer-and-typescript-4obm
DevPedrada