From adf7af6b8495c640850a381ba8568f98d991230d Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 6 Nov 2019 21:27:19 -0500 Subject: [PATCH] [+] Create interface for scale --- src/utils/gpa-utils.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/utils/gpa-utils.ts b/src/utils/gpa-utils.ts index 7b27e71..713bc29 100644 --- a/src/utils/gpa-utils.ts +++ b/src/utils/gpa-utils.ts @@ -2,6 +2,13 @@ import Course from '@/logic/course'; import {Assignment} from '@/components/app/app'; +export interface Scale +{ + min: number + letter: string + gp: number +} + /** * This is an utility class to calculate GPA. */