diff --git a/src/proxy/object.ts b/src/proxy/object.ts index 8ce97ec..ff8a708 100644 --- a/src/proxy/object.ts +++ b/src/proxy/object.ts @@ -28,7 +28,7 @@ export function proxifyObject( prop.key.type === "BooleanLiteral") && prop.key.value.toString() === key ) { - return (prop.value as any).value; + return (prop.value as any).value || prop.value; } } };