[TS] Add missing space in array length error string
authorMatt Corallo <git@bluematt.me>
Fri, 22 Jul 2022 18:08:49 +0000 (18:08 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Jul 2022 21:51:54 +0000 (21:51 +0000)
typescript_strings.py

index 5ae728f9866a8871cf537c7792d9768262568645..0d3036429dda8d81db04f3c7c5b8535c0cabb614 100644 (file)
@@ -191,7 +191,7 @@ export function encodeUint64Array (inputArray: BigUint64Array|Array<bigint>): nu
 
 /* @internal */
 export function check_arr_len(arr: Uint8Array, len: number): Uint8Array {
-       if (arr.length != len) { throw new Error("Expected array of length " + len + "got " + arr.length); }
+       if (arr.length != len) { throw new Error("Expected array of length " + len + " got " + arr.length); }
        return arr;
 }