mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-04 09:54:16 +00:00
fix typescript types
This commit is contained in:
1 parent
0f6cda377c
commit
04c7df8ac8
4 files changed
+8
-15
No files matched your search
@@ -108,7 +108,7 @@ document.addEventListener("alpine:init", () => {
|
||||
* Build the object containing the query parameters corresponding
|
||||
* to the current filters
|
||||
*/
|
||||
getQueryParams(): ProductSearchProductsDetailedData {
|
||||
getQueryParams(): Omit<ProductSearchProductsDetailedData, "url"> {
|
||||
const search = this.search.length > 0 ? this.search : null;
|
||||
// If active or archived products must be filtered, put the filter in the request
|
||||
// Else, don't include the filter
|
||||
|
||||
Reference in new issue
Block a user