Skip to content

Commit e727326

Browse files
authored
Merge branch 'main' into feature/7
2 parents 93b5dd1 + 956ca43 commit e727326

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ showName(car);
1717
showName(book); //error -> book은 name 객체가 없기 때문에 error가 발생한다. 이를 해결하기 위해서는 조건을 통해서 유연하게 대체를 할수 있다.
1818
// book에 name객체를 삽입하는 방법 외의 선택적 방식으로 동작하게 하려고 했으나 book을 해결하면 나머지가 error가 발생 한다.
1919
// **방법을 한번 찾아보면 좋을 듯 하다.**
20-
//useState같아 보이지 않는가?
20+
//useState같아 보이지 않는가?

src/utils/data.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ export interface myBook {
9898

9999
export interface objectType extends myBook {
100100
name?: string;
101-
}
101+
}

0 commit comments

Comments
 (0)