Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnoliverdriscoll committed Jan 28, 2025
2 parents 66a7436 + ee1b289 commit 172c85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/deser-lib/src/cbor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function untransform<T>(value: T): T | string {
if (value.startsWith('0x')) {
return '\\' + value;
}
} else if (value instanceof Array && value.length > 1) {
} else if (value instanceof Array) {
return value.map(untransform) as unknown as T;
} else if (value instanceof Object) {
const properties = Object.getOwnPropertyNames(value);
Expand Down

0 comments on commit 172c85c

Please sign in to comment.