diff --git a/src/proxy/object.ts b/src/proxy/object.ts index ff8a708..cfe911b 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 || prop.value; + return (prop.value as any).value ?? prop.value; } } };