refactor: declare settings type for SimpleColoredFolder class

This commit is contained in:
Mara 2026-06-11 21:29:40 +02:00
parent b585f7e292
commit 05361209b4

View file

@ -10,7 +10,7 @@ import { DEFAULT_SETTINGS, type SimpleColoredFolderSettings } from "./interfaces
import { SimpleColoredFolderSettingTab } from "./settings";
export default class SimpleColoredFolder extends Plugin {
settings!: SimpleColoredFolderSettings;
declare settings: SimpleColoredFolderSettings;
style: HTMLStyleElement | null = null;
snippetPath: string = "generated.colored-folder.css";
inject!: ColorInjector;