xpaint_zh / types.ts
suisuyy
Rename project to xpaintai_zh in package.json and metadata.json; integrate translation support in various components and hooks
69ae4e4
raw
history blame contribute delete
383 Bytes
import { TranslationKey } from './translations';
// No global shared complex types needed for now.
// Specific types/interfaces are defined within components or services where they are used.
// Example: export interface Point { x: number; y: number; } if it were broadly used.
export type TFunction = (key: TranslationKey, replacements?: Record<string, string | number>) => string;