From 09fd0de63d9c4e204f2881e17cf7d6d0bfb1ae9d Mon Sep 17 00:00:00 2001
From: Hamid Bluri
Date: Sun, 2 Jul 2023 15:51:25 +0330
Subject: [PATCH] convert `var` to `const`
since `PI_OVER_180` cannot change ...
---
src/Global.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Global.ts b/src/Global.ts
index 9a5dddc53..e68715df0 100644
--- a/src/Global.ts
+++ b/src/Global.ts
@@ -9,7 +9,7 @@
*
* @license
*/
-var PI_OVER_180 = Math.PI / 180;
+const PI_OVER_180 = Math.PI / 180;
/**
* @namespace Konva
*/