Answer the question
In order to leave comments, you need to log in
Enum entry without value?
One of the values comes from the back, was made to match enum
enum EPhone {
INVALID = "INVALID",
ALREADY_EXISTS = "ALREADY_EXISTS",
SUCCESS = "SUCCESS"
}
enum EPhone {
INVALID,
ALREADY_EXISTS,
SUCCESS
}
Answer the question
In order to leave comments, you need to log in
https://www.tutorialsteacher.com/typescript/typesc...
enum EPhone {
INVALID,
ALREADY_EXISTS,
SUCCESS
}
enum EPhone {
INVALID=0,
ALREADY_EXISTS=1,
SUCCESS=2
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question