You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript 2.4 now allows enum members to contain string initializers.
enum Colors {
Red = "RED",
Green = "GREEN",
Blue = "BLUE",
}
Now, those Java enums public enum { A, B, C }
could be enum { A="A", B="B", C="C" }
so that on boths sides - backend and frontend - the enums could be used against the web services.
The text was updated successfully, but these errors were encountered:
TypeScript 2.4 now allows enum members to contain string initializers.
Now, those Java enums
public enum { A, B, C }
could be
enum { A="A", B="B", C="C" }
so that on boths sides - backend and frontend - the enums could be used against the web services.
The text was updated successfully, but these errors were encountered: