We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66a7436 + ee1b289 commit 172c85cCopy full SHA for 172c85c
modules/deser-lib/src/cbor.ts
@@ -44,7 +44,7 @@ export function untransform<T>(value: T): T | string {
44
if (value.startsWith('0x')) {
45
return '\\' + value;
46
}
47
- } else if (value instanceof Array && value.length > 1) {
+ } else if (value instanceof Array) {
48
return value.map(untransform) as unknown as T;
49
} else if (value instanceof Object) {
50
const properties = Object.getOwnPropertyNames(value);
0 commit comments