Incorrectly syntax highlighting type in TypeScript

Insight

The syntax highlighter incorrectly highlights the word type in more places than it should do.

Supporting evidence

type MyType = string;
let variable: MyType = 'variable';
let type: MyType = 'type';

The way this looks at the time of writing:

Action

Make sure that code that is set to be highlighted TypeScript only highlights the word type like this in situations that it should do so.

Resources

Tasks

  • Assign this issue to the appropriate Product Manager, Product Designer, or UX Researcher.
  • Add the appropriate Group (such as ~"group::source code") label to the issue. This helps identify and track actionable insights at the group level.
  • Link this issue back to the original research issue in the GitLab UX Research project and the Dovetail project.
  • Adjust confidentiality of this issue if applicable
Edited by 🤖 GitLab Bot 🤖