Files
zhaoguiyang.site/src/types/i18n.ts
joyzhao 67f713565a refactor: clean up codebase by removing redundant comments
Remove unnecessary JSDoc comments and redundant explanations from components, types, and data files. Simplify code structure while maintaining functionality.

Clean up language handling logic in components by removing redundant comments and simplifying state management. Move type imports to dedicated type import statements where applicable.
2025-06-21 09:28:10 +08:00

17 lines
282 B
TypeScript

import { languages } from '@/i18n/translations';
export type Lang = keyof typeof languages;
export type UiKeys = string;
export interface LanguageSwitcherProps {
lang: Lang;
}
export interface GlassHeaderProps {
lang: Lang;
}
export interface FooterProps {
lang?: Lang;
}