From 4a72f60aebc9d6d66e976952f7f7c2cc7c40ebad Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Mon, 28 Oct 2024 00:00:25 +0900 Subject: [PATCH] Fix typeName with taling whitespace --- lib/encoder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/encoder.js b/lib/encoder.js index 74219f77..25fd5d30 100644 --- a/lib/encoder.js +++ b/lib/encoder.js @@ -1330,6 +1330,7 @@ function defineInstanceMembers() { frozen: false } }; + typeName = typeName.trim(); startIndex = startIndex || 0; let params; if (!length) {