import { createContext } from 'react'; import { Locale } from '.'; const LocaleContext = createContext<(Partial & { exist?: boolean }) | undefined>(undefined); export default LocaleContext;