Skip to content

Commit

Permalink
Make columns writable
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated authored Apr 26, 2024
1 parent 2fea8f0 commit e2fb4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function rowFromProto(

const colName = colNames[i];
if (colName !== undefined && !Object.hasOwn(row, colName)) {
Object.defineProperty(row, colName, { value, enumerable: true });
Object.defineProperty(row, colName, { value, enumerable: true, configurable: true, writable: true });
}
}
return row as Row;
Expand Down

0 comments on commit e2fb4a8

Please sign in to comment.