languages: Reorder type identifier highlights in JavaScript (#49325)
Kunall Banerjee
created
Move general type identifier rules before class-specific ones to ensure
proper precedence in the syntax highlighting query.
Closes #49226.
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- Fixed an issue where class names were not highlighted correctly in
JavaScript files