Agregar tipos para reaccionar $ contexto en flujo
import { createContext } from 'react'
type props = {
name: string,
age: number,
}
export const MyContext: React$Context<props> = createContext({})
export const MyContextProvider = MyContext.Provider
tinydev