https://psalm.dev/articles/psalm-3-and-a-half#enum-like-types
ging-dev good point, we'll try to implement those in the future release.
the latest pre-release understands the syntax; we'll keep working on other related features!