diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2024-02-19 22:19:00 -0800 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2024-02-19 22:19:00 -0800 |
| commit | 37c28bb86040703e6edb836418a7c81578faf57c (patch) | |
| tree | 9afd31314ac9c735056cad5c74b82c1bef1270d3 /src/types | |
| parent | e12d62023d0efdd73c8f6c1070872f43833496ff (diff) | |
Use meaningful strings instead of numbers
Diffstat (limited to 'src/types')
| -rw-r--r-- | src/types/guess.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types/guess.ts b/src/types/guess.ts index ea5a6ad..20f1a5a 100644 --- a/src/types/guess.ts +++ b/src/types/guess.ts @@ -6,8 +6,8 @@ export type GuessType = { }; export const enum GuessState { - Correct = 0, - PartiallyCorrect = 1, - Incorrect = 2, - Skipped = 3, + Correct = "Correct", + PartiallyCorrect = "PartiallyCorrect", + Incorrect = "Incorrect", + Skipped = "Skipped", } |
