Skip to content

Commit

Permalink
fix(dcons): .toString() impl, use String() conv for values
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 16, 2019
1 parent 75a4f72 commit d6b1f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dcons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ export class DCons<T>
while (cell) {
res.push(
cell.value != null
? cell.value.toString()
? String(cell.value)
: cell.value === undefined
? "undefined"
: "null"
Expand Down

0 comments on commit d6b1f11

Please sign in to comment.