Despacho reagido de digitação

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