Closed
Description
🔎 Search Terms
type union vscode preview display out of order digits/numbers
🕗 Version & Regression Information
- This changed between versions ______ and _______This changed in commit or PR _______This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________I was unable to test this on prior versions because this behavior is from the VSCode previewer.
⏯ Playground Link
No response
💻 Code
type digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
🙁 Actual behavior
🙂 Expected behavior
Preview says type digit = "0" | "1" | "2" | "3" ...
Additional information about the issue
No response
Activity
MartinJohns commentedon Aug 25, 2024
You forgot to fill out the issue template.
Duplicate of #17944. The order of types in a union is not guaranteed.
Nixinova commentedon Aug 25, 2024
no i didn't? and okay will close as duplicate. still weird that only 0 is out of place though.