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.
1 parent 0c35c0e commit 8b90bd7Copy full SHA for 8b90bd7
src/stringify.js
@@ -29,7 +29,7 @@ export function stringify(value, reducers) {
29
30
/** @type {Array<{ key: string, fn: (value: any) => any }>} */
31
const custom = [];
32
- for (const key in reducers) {
+ for (const key of Object.getOwnPropertyNames(reducers)) {
33
custom.push({ key, fn: reducers[key] });
34
}
35
0 commit comments