From ed535f1747aa72309166e74a0fcb232536d9515b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 22 Jul 2022 18:08:49 +0000 Subject: [PATCH] [TS] Add missing space in array length error string --- typescript_strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript_strings.py b/typescript_strings.py index 5ae728f9..0d303642 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -191,7 +191,7 @@ export function encodeUint64Array (inputArray: BigUint64Array|Array): 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; } -- 2.39.5