move util.ts file to ts directory
authorArik Sosman <git@arik.io>
Mon, 25 Jan 2021 18:16:34 +0000 (10:16 -0800)
committerArik Sosman <git@arik.io>
Mon, 25 Jan 2021 18:16:34 +0000 (10:16 -0800)
lab/bindings/typescript/util.ts [deleted file]
ts/util.ts [new file with mode: 0644]

diff --git a/lab/bindings/typescript/util.ts b/lab/bindings/typescript/util.ts
deleted file mode 100644 (file)
index 4f3d113..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-export class TwoTuple<A, B> {
-    public a: A;
-    public b: B;
-
-    constructor(a: A, b: B) {
-        this.a = a;
-        this.b = b;
-    }
-}
-
-export class ThreeTuple<A, B, C> {
-    public a: A;
-    public b: B;
-    public c: C;
-
-    constructor(a: A, b: B, c: C) {
-        this.a = a;
-        this.b = b;
-        this.c = c;
-    }
-}
diff --git a/ts/util.ts b/ts/util.ts
new file mode 100644 (file)
index 0000000..4f3d113
--- /dev/null
@@ -0,0 +1,21 @@
+export class TwoTuple<A, B> {
+    public a: A;
+    public b: B;
+
+    constructor(a: A, b: B) {
+        this.a = a;
+        this.b = b;
+    }
+}
+
+export class ThreeTuple<A, B, C> {
+    public a: A;
+    public b: B;
+    public c: C;
+
+    constructor(a: A, b: B, c: C) {
+        this.a = a;
+        this.b = b;
+        this.c = c;
+    }
+}