Creates a proxy of an Alias instance so that we can use it like a normal object.
Optional
import { alias } from 'deleight/proxies/alias'const obj1 = { a: 1, b: 2 };const obj2 = { a: 3, b: 4 };const al = alias({ c: obj1, d: obj2 }, {c: 'a', d: 'a'});console.log(al.c) // 1console.log(al.d) // 3 Copy
import { alias } from 'deleight/proxies/alias'const obj1 = { a: 1, b: 2 };const obj2 = { a: 3, b: 4 };const al = alias({ c: obj1, d: obj2 }, {c: 'a', d: 'a'});console.log(al.c) // 1console.log(al.d) // 3
Creates a proxy of an Alias instance so that we can use it like a normal object.