From 6cd4cd3ddfc91fe954d6ee879c62d76d7cfeb503 Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:36:06 -0700 Subject: [PATCH] update tsconfig --- server/src/mod.ts | 2 +- server/tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/mod.ts b/server/src/mod.ts index 36b8886..ce41278 100644 --- a/server/src/mod.ts +++ b/server/src/mod.ts @@ -229,4 +229,4 @@ class UIFixes implements IPreSptLoadMod { } } -module.exports = { mod: new UIFixes() }; +export const mod = new UIFixes(); diff --git a/server/tsconfig.json b/server/tsconfig.json index 9ac1a11..16b6a3a 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -1,9 +1,9 @@ { "compilerOptions": { "allowJs": true, - "module": "CommonJS", + "module": "NodeNext", "target": "ES2022", - "moduleResolution": "Node10", + "moduleResolution": "NodeNext", "esModuleInterop": true, "downlevelIteration": true, "experimentalDecorators": true,