From 809bdb11f3d213254c098411755631b1264c52f0 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 28 Nov 2020 13:25:47 +0900 Subject: Make operators as a strategy pattern --- src/content/operators/Operator.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/content/operators/Operator.ts (limited to 'src/content/operators/Operator.ts') diff --git a/src/content/operators/Operator.ts b/src/content/operators/Operator.ts new file mode 100644 index 0000000..3b1fe03 --- /dev/null +++ b/src/content/operators/Operator.ts @@ -0,0 +1,5 @@ +interface Operator { + run(): Promise; +} + +export default Operator; -- cgit v1.2.3