diff --git "a/level-00/0.7-\355\201\264\353\236\230\354\212\244-\352\270\260\353\263\270/solution.ts" "b/level-00/0.7-\355\201\264\353\236\230\354\212\244-\352\270\260\353\263\270/solution.ts" index c109664..3b15604 100644 --- "a/level-00/0.7-\355\201\264\353\236\230\354\212\244-\352\270\260\353\263\270/solution.ts" +++ "b/level-00/0.7-\355\201\264\353\236\230\354\212\244-\352\270\260\353\263\270/solution.ts" @@ -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; + } + } }