Skip to content

Commit

Permalink
test(array): update
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Jan 13, 2025
1 parent 51685cd commit aff7025
Show file tree
Hide file tree
Showing 4 changed files with 984 additions and 200 deletions.
2 changes: 1 addition & 1 deletion src/draft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const draftsCache = new WeakSet<object>();

let arrayHandling = false;

const proxyArrayMethods = ['splice', 'shift', 'unshift', 'reverse', 'sort'];
const proxyArrayMethods = ['splice', 'shift', 'unshift', 'reverse'];

const proxyHandler: ProxyHandler<ProxyDraft> = {
get(target: ProxyDraft, key: string | number | symbol, receiver: any) {
Expand Down
Loading

0 comments on commit aff7025

Please sign in to comment.