Fix: type define err

This commit is contained in:
Unitwk 2024-04-01 12:41:29 +08:00
parent 198ab5f6c0
commit 0b9a6bf1dc
3 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,7 @@
"moduleResolution": "node",
"sourceMap": true,
"outDir": "dist",
"declaration": true,
"baseUrl": ".",
"paths": {
"@languages/*": ["../languages/*"],

View File

@ -2,8 +2,7 @@
import SystemConfig from "./entity/setting";
import StorageSystem from "./common/system_storage";
import { GlobalVariable } from "common";
import { $t, i18next } from "./i18n";
import { i18next } from "./i18n";
let systemConfig: SystemConfig | null = null;
// System persistence configuration table

View File

@ -1,7 +1,6 @@
import * as fs from "fs-extra";
import { GlobalVariable } from "common";
import { logger } from "./service/log";
import path from "path";
import storage from "./common/system_storage";
interface PackageInfo {