From 0a157538af3c1ba29f8b20ae075458af80a07815 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 4 Aug 2023 19:11:08 +0100 Subject: Defines Price type --- frontend/src/types/Price.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 frontend/src/types/Price.d.ts (limited to 'frontend/src') 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; -- cgit v1.2.3