feat: function attribute typing

This commit is contained in:
Dominik Pschenitschni 2022-06-23 03:20:07 +02:00
parent 8fb00653e4
commit 332acf012c
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
17 changed files with 48 additions and 41 deletions

View file

@ -209,7 +209,7 @@ function resize() {
store.commit(MENU_ACTIVE, window.innerWidth >= 770)
}
function toggleLists(namespaceId: number) {
function toggleLists(namespaceId: NamespaceModel['id']) {
listsVisible.value[namespaceId] = !listsVisible.value[namespaceId]
}