diff --git a/common/tsconfig.json b/common/tsconfig.json index ef56f17a..bc5e0ff9 100755 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -14,6 +14,7 @@ "moduleResolution": "node", "sourceMap": true, "outDir": "dist", + "declaration": true, "baseUrl": ".", "paths": { "@languages/*": ["../languages/*"], diff --git a/panel/src/app/setting.ts b/panel/src/app/setting.ts index fcd53dc1..da1de6ac 100755 --- a/panel/src/app/setting.ts +++ b/panel/src/app/setting.ts @@ -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 diff --git a/panel/src/app/version.ts b/panel/src/app/version.ts index 19ddd0ee..dceb1850 100755 --- a/panel/src/app/version.ts +++ b/panel/src/app/version.ts @@ -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 {