Adicionar tipos para reagir $ contexto no fluxo

import { createContext } from 'react'

type props = {
	name: string,
	age: number,
}

export const MyContext: React$Context<props> = createContext({})
export const MyContextProvider = MyContext.Provider
tinydev