Closed
Description
openedon Jun 2, 2024
When comparing VS Code behaviour with Web Storm, type aliases are expanded, so when you have a type of like:
type TypeAlias = string;
And then use it:
const TestWithAlias: Record<TypeAlias, string> = {};
VS Code will expand the type where Web Storm will not.
It would be nice to have an option to not expand type aliases.
Here are screenshot examples of the behaviors of both IDEs, VS Code first, Web Storm second.
And here is the code used: https://www.typescriptlang.org/play/?#code/C4TwDgpgBAKuEEEA2BLAhgZygXih4ATigHYDmA3AFCWiRQCyaYA6isABZyTLoYDSEEDigAlCAGMA9gQAmAHi6JUmADR5CJUgD4qlKcXxQA7gUlkBIRQC4GTVh0U9MF4QG8AvuSA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels