Skip to content

Commit

Permalink
Merge PR #1 from 'nodech/ts-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Jun 13, 2023
2 parents 30ca683 + a50a251 commit f338f8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,10 @@ function ownKeys(obj) {
for (const symbol of symbols) {
const desc = Object.getOwnPropertyDescriptor(obj, symbol);

if (desc && desc.enumerable)
if (desc && desc.enumerable) {
// @ts-ignore
keys.push(symbol);
}
}

return keys;
Expand Down

0 comments on commit f338f8f

Please sign in to comment.