From: Matt Corallo Date: Wed, 18 Jan 2023 18:43:44 +0000 (+0000) Subject: [TS] Remove unused variable in generator X-Git-Tag: v0.0.114.0~18 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=b3a23d8dae8cc969fce9cad64991b393f74c94af;p=ldk-java [TS] Remove unused variable in generator --- diff --git a/typescript_strings.py b/typescript_strings.py index 77ae1d0a..402e6399 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -1317,7 +1317,6 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ return (out_java, out_java_enum, out_c) def map_opaque_struct(self, struct_name, struct_doc_comment): - implementations = "" method_header = "" hu_name = struct_name.replace("LDKC2Tuple", "TwoTuple").replace("LDKC3Tuple", "ThreeTuple").replace("LDK", "") @@ -1339,7 +1338,7 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ /**{extra_docs} * {formatted_doc_comment} */ -export class {hu_name} extends CommonBase {implementations}{{ +export class {hu_name} extends CommonBase {{ /* @internal */ public constructor(_dummy: null, ptr: bigint) {{ {constructor_body}