Describe the bug
dir=auto works, but typing complains (type Direction = ltr | rtl
Changes made:
<html dir=rtl lang="en">
<ContextMenu.Root dir="auto">
This did cause the menu to switch direction as desired. But results in a typing error.

Reproduction
https://stackblitz.com/edit/vh9kvats
Severity
annoyance