Use unknown return type for callbacks

This commit is contained in:
Andras Schmelczer 2025-08-17 15:12:31 +01:00
commit 81b81e30ff
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -42,9 +42,7 @@ export class StatusBar {
text: "VaultLink is disabled, click to configure",
cls: "initialize-button"
});
button.onclick = (): void => {
this.plugin.openSettings();
};
button.onclick = this.plugin.openSettings.bind(this.plugin);
return;
}