summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:10:43 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:10:43 +0100
commit87968cdb755f0bf3b1bee9f122afdef538b701a2 (patch)
treea01f523af481ad25404a2c27f41f47505e8d9135
parent62c23f65d3e838f05d0a71c00cadb29c92fb9e0f (diff)
Defines Digit type
-rw-r--r--frontend/src/types/Digit.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/types/Digit.d.ts b/frontend/src/types/Digit.d.ts
new file mode 100644
index 0000000..cd9c911
--- /dev/null
+++ b/frontend/src/types/Digit.d.ts
@@ -0,0 +1,3 @@
+type Digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
+
+export default Digit;