Skip to content

Commit

Permalink
fix: quoted properties of ObjectExpression not in exports proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Nov 10, 2023
1 parent a71d7ea commit 16457e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function proxifyObject<T extends object>(
prop.key.type === "BooleanLiteral") &&
prop.key.value.toString() === key
) {
return (prop.value as any).value;
return (prop.value as any).value || prop.value;
}
}
};
Expand Down

0 comments on commit 16457e1

Please sign in to comment.