many small fixes from Intellij analysis

This commit is contained in:
zadam
2023-05-05 23:17:23 +02:00
parent 0af6f91d21
commit 6dfc72c065
41 changed files with 73 additions and 83 deletions

View File

@@ -14,6 +14,8 @@ export default class TabManager extends Component {
constructor() {
super();
/** @property {NoteContext[]} */
this.children = [];
this.mutex = new Mutex();
this.activeNtxId = null;
@@ -38,7 +40,7 @@ export default class TabManager extends Component {
appContext.addBeforeUnloadListener(this);
}
/** @type {NoteContext[]} */
/** @returns {NoteContext[]} */
get noteContexts() {
return this.children;
}