We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Version: 3.8.3
Search Terms: enum member
Code
enum Reply { YES = 'YES', NO = 1 + 2 }
enum Reply_ { YES = 'Y' + 'E' + 'S', NO = 1 + 2 }
Expected behavior: Two snippets both compile okay, at least stay consistency.
Actual behavior: The first snippet compiles error, the second snippet compiles okay.
Playground Link: https://www.typescriptlang.org/en/play?#code/KYOwrgtgBASsAOAbAnlA3gKCtqBNAogMpQC8UA5AYeQDRY4ByA8qVAIxQDUUATBgL4YMoSLAQoA+unrYqrSuS4V8i7uWp0cUZqw7c+-IA
Related Issues: Not Found.
The text was updated successfully, but these errors were encountered:
Duplicate of #27976. Search terms used: enum computed
enum computed
Sorry, something went wrong.
@ArgsType
No branches or pull requests
TypeScript Version: 3.8.3
Search Terms: enum member
Code
Expected behavior:
Two snippets both compile okay, at least stay consistency.
Actual behavior:
The first snippet compiles error, the second snippet compiles okay.
Playground Link:
https://www.typescriptlang.org/en/play?#code/KYOwrgtgBASsAOAbAnlA3gKCtqBNAogMpQC8UA5AYeQDRY4ByA8qVAIxQDUUATBgL4YMoSLAQoA+unrYqrSuS4V8i7uWp0cUZqw7c+-IA
Related Issues:
Not Found.
The text was updated successfully, but these errors were encountered: