We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93b5dd1 + 956ca43 commit e727326Copy full SHA for e727326
src/index.ts
@@ -17,4 +17,4 @@ showName(car);
17
showName(book); //error -> book은 name 객체가 없기 때문에 error가 발생한다. 이를 해결하기 위해서는 조건을 통해서 유연하게 대체를 할수 있다.
18
// book에 name객체를 삽입하는 방법 외의 선택적 방식으로 동작하게 하려고 했으나 book을 해결하면 나머지가 error가 발생 한다.
19
// **방법을 한번 찾아보면 좋을 듯 하다.**
20
-//useState같아 보이지 않는가?
+//useState같아 보이지 않는가?
src/utils/data.interface.ts
@@ -98,4 +98,4 @@ export interface myBook {
98
99
export interface objectType extends myBook {
100
name?: string;
101
-}
+}
0 commit comments