From 8ca78cbe4b9a4a37d7a9df14ea32d9afd72f2036 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 9 Apr 2022 20:03:02 -0500 Subject: [PATCH] ffixed toms bad --- src/support/parse.ts | 4 ++-- src/support/types.ts | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/support/parse.ts b/src/support/parse.ts index 5e15fb9..0855dbe 100644 --- a/src/support/parse.ts +++ b/src/support/parse.ts @@ -270,8 +270,8 @@ export class MathStatement { /** The raw statement input by the user. */ public readonly raw: string, - public x: Number = 0, - public y: Number = 0, + public x: number = 0, + public y: number = 0, ) {} /** Parse the raw statement to an AST. */ diff --git a/src/support/types.ts b/src/support/types.ts index d459c20..4e2c936 100644 --- a/src/support/types.ts +++ b/src/support/types.ts @@ -96,9 +96,9 @@ export interface EvaluationResult { export class RichTextBox { constructor( public text: string = '', - public x: Number = 0, - public y: Number = 0, - ) { - + public x: number = 0, + public y: number = 0, + ) { + } -} \ No newline at end of file +}