Add type for filterState

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Suven-p 2024-10-27 08:45:22 +05:45 committed by GitHub
parent f8ef326743
commit f549eaec20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,7 +160,7 @@ export default {
/** /**
* Returns applied filters based on query params. * Returns applied filters based on query params.
* @returns {object} The current filter state. * @returns {{ status: number[], active: bool, tags: number[] }} The current filter state.
*/ */
filterState() { filterState() {
// Since query params are always strings, convert them to the correct type // Since query params are always strings, convert them to the correct type