Skip to content

Commit

Permalink
fix: テストの大半を通した
Browse files Browse the repository at this point in the history
  • Loading branch information
mew-ton committed Jan 24, 2024
1 parent 7ac66b3 commit 13fc2cf
Show file tree
Hide file tree
Showing 19 changed files with 833 additions and 796 deletions.
4 changes: 2 additions & 2 deletions src/fold.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { toModifier, toRaw } from './lib'
import { toModifier } from './lib'
import { type Dictionary, type FixedFoldOption, type FoldOption, type Folded, defaultCommonOption } from './type'

/**
Expand Down Expand Up @@ -40,7 +40,7 @@ export function fold<D extends Dictionary>(obj: D, option?: FoldOption): Folded<
const result = {} as Folded<D>

for (const key of proxy.keys()) {
result[fixKey(fixedOption, key)] = toRaw(proxy.get(key))
result[fixKey(fixedOption, key)] = proxy.get(key)
}

return result
Expand Down
Loading

0 comments on commit 13fc2cf

Please sign in to comment.