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
enum E { A = 1, B = "b" } let valye: E.A | E.B = 123; // Ok?
The text was updated successfully, but these errors were encountered:
Duplicate of #6131
Sorry, something went wrong.
@Andy-MS there on the enum in the role of type. I have a question about a Enum Literal Types.
I can't tell what the question is -- besides the problem of an arbitrary number being assignable to an enum type, which is issue #6131.
No branches or pull requests
The text was updated successfully, but these errors were encountered: