Fix Typescript and module errors

- Resolve Typescript isolatedModules error by using 'export type' when re-exporting types.
- Fix module ambiguity by explicitly re-exporting 'BudgetContextType'.
- Correct import paths for useAuth hook in transaction-related files.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-19 14:13:31 +00:00
parent 40003d8f28
commit 92fc5ce34f
3 changed files with 4 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ export const BudgetProvider: React.FC<{ children: React.ReactNode }> = ({ childr
};
// useBudget 훅은 useBudget.ts 파일로 이동했습니다
export { useBudget, BudgetContextType } from './useBudget';
export { useBudget } from './useBudget';
export type { BudgetContextType } from './useBudget';
export type { BudgetPeriod } from './types';