From 16457e1bb11eba25d8290f9840133e6b49aa2055 Mon Sep 17 00:00:00 2001 From: AriPerkkio Date: Fri, 10 Nov 2023 22:32:29 +0200 Subject: [PATCH] fix: quoted properties of `ObjectExpression` not in exports proxy --- src/proxy/object.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } };