Fix TS2308 error in index.ts

The module './BudgetContext' already exports a member named 'BudgetContextType'. Explicitly re-export to resolve the ambiguity.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-19 14:14:45 +00:00
parent 92fc5ce34f
commit e164c45fd2

View File

@@ -1,9 +1,18 @@
export * from './BudgetContext';
export * from './types';
export * from './budgetUtils';
export * from './storageUtils';
// types.ts에서 BudgetPeriod와 다른 타입들을 내보내지만,
// BudgetContextType은 이미 BudgetContext에서 내보내고 있으므로 제외
export type {
BudgetPeriod,
BudgetPeriodData,
BudgetData,
CategoryBudget,
Transaction
} from './types';
// Export hooks
export * from './hooks/useTransactionState';
export * from './hooks/useBudgetDataState';