- Biome 설정 파일 마이그레이션 및 규칙 적용 │
│ - 전체 파일 대상 포맷팅 및 린트 오류 수정 │ │ - 타입을 으로 변경하여 타입 안정성 강화 │ │ - 불필요한 import 제거 및 useEffect 의존성 배열 수정 │ │ - 파일을 /로 마이그레이션하여 타입스크립트 일관성 확보 │ │ - 에 개발 원칙 추가
This commit is contained in:
@@ -12,7 +12,7 @@ export interface Issue {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
category: string;
|
||||
[key: string]: any; // 그 외 다른 필드들
|
||||
[key: string]: unknown; // 그 외 다른 필드들
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,8 +54,11 @@ export const getIssue = async (
|
||||
const response = await fetch(url);
|
||||
|
||||
if (!response.ok) {
|
||||
await handleApiError("이슈 상세 정보를 불러오는 데 실패했습니다.", response);
|
||||
await handleApiError(
|
||||
"이슈 상세 정보를 불러오는 데 실패했습니다.",
|
||||
response,
|
||||
);
|
||||
}
|
||||
|
||||
return response.json();
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user