Fix TypeScript errors
Fixes TypeScript errors related to missing properties and incorrect exports.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import React from 'react';
|
||||
import { useBudgetState } from './useBudgetState';
|
||||
import { BudgetContext, BudgetContextType } from './useBudget';
|
||||
import { BudgetPeriod } from './types';
|
||||
import { BudgetPeriod, Transaction } from './types';
|
||||
|
||||
// 컨텍스트 프로바이더 컴포넌트
|
||||
export const BudgetProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
||||
@@ -19,4 +19,5 @@ export const BudgetProvider: React.FC<{ children: React.ReactNode }> = ({ childr
|
||||
export { useBudget } from './useBudget';
|
||||
export type { BudgetContextType } from './useBudget';
|
||||
|
||||
export type { BudgetPeriod } from './types';
|
||||
// types.ts에서 타입들을 export
|
||||
export { BudgetPeriod, Transaction } from './types';
|
||||
|
||||
Reference in New Issue
Block a user