Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions level-00/0.7-클래스-기본/solution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export interface Rectangle {
}

export function solution(width: number, height: number): Rectangle {
// TODO: 구현하세요
throw new Error("아직 구현되지 않았습니다");
return {
width: width,
height: height,
area: () => {
return width * height;
}
}
}
Loading