mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
fix typescript types
This commit is contained in:
@ -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