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) {