From 5329b1fd16d0b8940f9526b523676dfb1cdbf317 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Thu, 24 Jun 2021 15:53:42 +0530 Subject: switching to typescript --- src/interfaces.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/interfaces.ts (limited to 'src/interfaces.ts') diff --git a/src/interfaces.ts b/src/interfaces.ts new file mode 100644 index 0000000..7090907 --- /dev/null +++ b/src/interfaces.ts @@ -0,0 +1,21 @@ +export interface Transport { + name: string, + vehicleNum: string, + method: string, + gstin: string, + builty: string +} + +export interface Item { + Model: string, + Description: string, + Quantity: number, + UnitPrice: number, + TotalValue: number, // UnitPrice * Quantity + Discount: number, + HSN: number, // string?? + + sgst: number, + cgst: number, + igst: number +} -- cgit v1.2.3