diff --git a/UI/Base/Img.ts b/UI/Base/Img.ts index 96d93593e3..79839183ba 100644 --- a/UI/Base/Img.ts +++ b/UI/Base/Img.ts @@ -2,9 +2,10 @@ import {Utils} from "../../Utils"; import BaseUIElement from "../BaseUIElement"; export default class Img extends BaseUIElement { - private _src: string; + + private readonly _src: string; private readonly _rawSvg: boolean; - private _options: { fallbackImage?: string }; + private readonly _options: { readonly fallbackImage?: string }; constructor(src: string, rawSvg = false, options?: { fallbackImage?: string