Pinned Loading
-
-
-
proxy-deep.ts
proxy-deep.ts 1const deepProxy = (target: Object, callback: (newTarget: Object) => void) => {
2const handler = (callback: (newTarget: Object) => void) => ({
3get: (obj, prop) => {
4if (['[object Object]', '[object Array]'].indexOf(Object.prototype.toString.call(obj[prop])) > -1) {
5return new Proxy(
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.