aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorBrendan F <EpicWolverine@users.noreply.github.com>2024-02-19 22:19:00 -0800
committerBrendan F <EpicWolverine@users.noreply.github.com>2024-02-19 22:19:00 -0800
commit37c28bb86040703e6edb836418a7c81578faf57c (patch)
tree9afd31314ac9c735056cad5c74b82c1bef1270d3 /src/types
parente12d62023d0efdd73c8f6c1070872f43833496ff (diff)
Use meaningful strings instead of numbers
Diffstat (limited to 'src/types')
-rw-r--r--src/types/guess.ts8
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",
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage