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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user