...

/

Challenge: Constant Types

Challenge: Constant Types

Practice what we've learned about constant types.

Problem statement

Using strings for getters, actions, and mutations can be error-prone. It’s a common practice to use constants instead because they make it easier to determine which getters, actions, and mutations are possible. Moreover, constants also allow code to take advantage of linters and they help prevent accidental typos.

Challenge

Your task is to replace ...