summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDevlin Junker <devlin.junker@gmail.com>2022-12-03 16:46:45 -0800
committerBenjamin Brahmer <info@b-brahmer.de>2022-12-06 14:57:20 +0100
commit4fb5426285e66146451486f3885638bfc4386fb1 (patch)
tree307c57497637f53d5b0dc30cdd6bc7d0269ca2b5 /src
parent404b6367d0d0de93375b16705c0dafe52eb86361 (diff)
clean up linting warnings
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/AdminSettings.vue6
-rw-r--r--src/types/Folder.ts3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue
index 332f920f0..33a24cebe 100644
--- a/src/components/AdminSettings.vue
+++ b/src/components/AdminSettings.vue
@@ -107,9 +107,11 @@ import { generateOcsUrl } from '@nextcloud/router'
import { confirmPassword } from '@nextcloud/password-confirmation'
/**
+ * Debounce helper for method
+ * TODO: Should we remove this and use library?
*
- * @param func
- * @param wait
+ * @param {Function} func function to debounce
+ * @param {number} wait milliseconds to wait
*/
function debounce(func, wait) {
let timeout
diff --git a/src/types/Folder.ts b/src/types/Folder.ts
index f09a404d4..533cc93b7 100644
--- a/src/types/Folder.ts
+++ b/src/types/Folder.ts
@@ -1,6 +1,7 @@
+import { Feed } from './Feed'
export type Folder = {
- feeds: any[];
+ feeds: Feed[];
feedCount: number;
name: string;
id: number;