From af0e99d7e9d5691aa8ece45162533a8ed23e2971 Mon Sep 17 00:00:00 2001 From: 16Yongjin Date: Mon, 3 Aug 2020 20:12:21 +0900 Subject: [PATCH] remove undo.ts --- src/undo.ts | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/undo.ts diff --git a/src/undo.ts b/src/undo.ts deleted file mode 100644 index e85edec..0000000 --- a/src/undo.ts +++ /dev/null @@ -1,24 +0,0 @@ -interface UndoActionArgs { - name: string; - action: string; - func: Function; - args: string[]; -} - -export default class UndoAction { - name: string - action: string - func: Function - args: string[] - - constructor({ name, action, func, args }: UndoActionArgs) { - this.name = name - this.action = action - this.func = func - this.args = args - } - - undo() { - return this.func(this.args) - } -}