Skip to content

Commit

Permalink
remove unnecessary types
Browse files Browse the repository at this point in the history
  • Loading branch information
planttheidea committed Oct 2, 2022
1 parent faeeb45 commit 1dec6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/copier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function copyObjectLooseModern<Value extends Record<string, any>>(
object: Value,
state: State
): Value {
const clone: any = getCleanClone(state.prototype);
const clone = getCleanClone(state.prototype);

// set in the cache immediately to be able to reuse the object recursively
state.cache.set(object, clone);
Expand All @@ -210,7 +210,7 @@ function copyObjectLooseModern<Value extends Record<string, any>>(
}
}

const symbols: symbol[] = getOwnPropertySymbols(object);
const symbols = getOwnPropertySymbols(object);

for (
let index = 0, length = symbols.length, symbol;
Expand Down

0 comments on commit 1dec6f6

Please sign in to comment.