summaryrefslogtreecommitdiff
path: root/api/Order.d.ts
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-05 22:31:05 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-06 22:40:07 +0100
commitf8a4c754b954645de11cf9d9d53841a4ce5ccfc2 (patch)
tree8f6df194f1c483d71bf0da2826f528982a8caa95 /api/Order.d.ts
parente83365c0842dd4826c32b137877dab1d34a189cd (diff)
Defines Order type
Diffstat (limited to 'api/Order.d.ts')
-rw-r--r--api/Order.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/Order.d.ts b/api/Order.d.ts
new file mode 100644
index 0000000..cf1ff81
--- /dev/null
+++ b/api/Order.d.ts
@@ -0,0 +1,7 @@
+type Order = {
+ productDescription: string;
+ shortDescription: string;
+ totalPrice: number;
+};
+
+export default Order;