Add delete to the shallow proxy

This commit is contained in:
Carlos Fernandez 2026-04-25 17:47:51 -04:00
parent 67d8d071a2
commit 1f9045276c

View file

@ -827,6 +827,10 @@ export function createShallowProxy(obj) {
set(_target, prop, newValue) {
overrides[prop] = newValue;
return true;
},
deleteProperty(_target, prop) {
delete overrides[prop];
return true;
}
});
}