| 6 | import { getTranslation, Translations } from '../lib/translations'; |
| 7 | |
| 8 | interface AppContextType { |
| 9 | theme: Theme; |
| 10 | setTheme: (theme: Theme) => void; |
| 11 | language: Language; |
| 12 | setLanguage: (language: Language) => void; |
| 13 | t: (key: keyof Translations) => string; |
| 14 | } |
| 15 | |
| 16 | const AppContext = createContext<AppContextType | undefined>(undefined); |
| 17 |
nothing calls this directly
no outgoing calls
no test coverage detected