From: Arik Sosman Date: Mon, 25 Jan 2021 18:16:34 +0000 (-0800) Subject: move util.ts file to ts directory X-Git-Tag: v0.0.1~40 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=commitdiff_plain;h=56b390596670c976a82419933a7206eb93cd1484 move util.ts file to ts directory --- diff --git a/lab/bindings/typescript/util.ts b/lab/bindings/typescript/util.ts deleted file mode 100644 index 4f3d1135..00000000 --- a/lab/bindings/typescript/util.ts +++ /dev/null @@ -1,21 +0,0 @@ -export class TwoTuple { - public a: A; - public b: B; - - constructor(a: A, b: B) { - this.a = a; - this.b = b; - } -} - -export class ThreeTuple { - 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 index 00000000..4f3d1135 --- /dev/null +++ b/ts/util.ts @@ -0,0 +1,21 @@ +export class TwoTuple { + public a: A; + public b: B; + + constructor(a: A, b: B) { + this.a = a; + this.b = b; + } +} + +export class ThreeTuple { + 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; + } +}