Closed praveenperera closed 5 years ago
If I make a user status:
defenum(UserStatusEnum, invited: 0, activated: 1, disabled: 2, deleted: 3 )
And that automatically added the following typespec
@type t :: :invited | :activated | :disabled | :deleted
I could then use UserStatusEnum.t() when annotating types in the codebase.
UserStatusEnum.t()
This was done by #84
If I make a user status:
And that automatically added the following typespec
I could then use
UserStatusEnum.t()
when annotating types in the codebase.