From b3a23d8dae8cc969fce9cad64991b393f74c94af Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 18 Jan 2023 18:43:44 +0000 Subject: [PATCH] [TS] Remove unused variable in generator --- typescript_strings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} -- 2.39.5