Skip to content

Commit 820c404

Browse files
committed
make getters enumerable
1 parent a7b9b8c commit 820c404

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/memoized-getter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export function defineGetterMemoized<K extends keyof any, T, O extends { [k in K
33
let value: T;
44

55
Object.defineProperty(obj, key, {
6+
enumerable: true,
67
get() {
78
switch (state) {
89
case 'done':

0 commit comments

Comments
 (0)