summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:11:08 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:11:08 +0100
commit0a157538af3c1ba29f8b20ae075458af80a07815 (patch)
tree98c1c79e1676498871e08800036a2e1599a31621
parent87968cdb755f0bf3b1bee9f122afdef538b701a2 (diff)
Defines Price type
-rw-r--r--frontend/src/types/Price.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/types/Price.d.ts b/frontend/src/types/Price.d.ts
new file mode 100644
index 0000000..6757717
--- /dev/null
+++ b/frontend/src/types/Price.d.ts
@@ -0,0 +1,5 @@
+import type Digit from './Digit';
+
+type Price = `${bigint}.${Digit}${Digit}`;
+
+export default Price;