[TS] Update auto-generated TypeScript Bindings
[ldk-java] / ts / structs / DecodeError.mts
index fbc88e4d2e2fd65c83d0af819d3d0700b1322d9d..7d75216eb5109163ae7d5d9d7387700b4a282dbb 100644 (file)
@@ -279,9 +279,11 @@ import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
 
 import CommonBase from './CommonBase.mjs';
 import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
 
 
+/**
+ * An error in decoding a message or struct.
+ */
 export class DecodeError extends CommonBase {
        /* @internal */
        public constructor(_dummy: object, ptr: number) {
@@ -293,6 +295,9 @@ export class DecodeError extends CommonBase {
                return ret;
        }
 
+       /**
+        * Creates a copy of the DecodeError
+        */
        public clone(): DecodeError {
                const ret: number = bindings.DecodeError_clone(this.ptr);
                const ret_hu_conv: DecodeError = new DecodeError(null, ret);