From c51cd87d0e7154efc8d352eeaf375bc2ace8b40a Mon Sep 17 00:00:00 2001 From: lee0802-120 Date: Mon, 20 Jul 2026 10:18:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A4=80=EC=84=9D=20=EC=A0=9C?= =?UTF-8?q?=EC=B6=9C=ED=95=A9=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../solution.ts" | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git "a/level-00/0.8-\355\201\264\353\236\230\354\212\244-\354\203\201\355\203\234/solution.ts" "b/level-00/0.8-\355\201\264\353\236\230\354\212\244-\354\203\201\355\203\234/solution.ts" index c1a0169..ac21888 100644 --- "a/level-00/0.8-\355\201\264\353\236\230\354\212\244-\354\203\201\355\203\234/solution.ts" +++ "b/level-00/0.8-\355\201\264\353\236\230\354\212\244-\354\203\201\355\203\234/solution.ts" @@ -16,6 +16,15 @@ export interface Counter { } export function solution(start: number): Counter { - // TODO: 구현하세요 - throw new Error("아직 구현되지 않았습니다"); + return { + increment: () => { + start++; + }, + decrement: () => { + start--; + }, + value: () => { + return start; + } + } }