diff --git a/scripts/generateIncludedImages.ts b/scripts/generateIncludedImages.ts index 94c563850..ef1e9c9ea 100644 --- a/scripts/generateIncludedImages.ts +++ b/scripts/generateIncludedImages.ts @@ -4,7 +4,7 @@ function genImages(dryrun = false) { const dir = fs.readdirSync("./assets/svg") let module = - 'import Img from "./UI/Base/Img";\nimport {FixedUiElement} from "./UI/Base/FixedUiElement";\n\nexport default class Svg {\n\n\n' + 'import Img from "./UI/Base/Img";\nimport {FixedUiElement} from "./UI/Base/FixedUiElement";\n\n/* @deprecated */\nexport default class Svg {\n\n\n' const allNames: string[] = [] for (const path of dir) { if (path.endsWith("license_info.json")) { diff --git a/src/UI/UIElement.ts b/src/UI/UIElement.ts index 6ae128b29..39990260b 100644 --- a/src/UI/UIElement.ts +++ b/src/UI/UIElement.ts @@ -1,5 +1,8 @@ import BaseUIElement from "./BaseUIElement" +/** + * @deprecated + */ export abstract class UIElement extends BaseUIElement { /** * Should be overridden for specific HTML functionality