switch data type to any (need to fix)

Skip quality check on utils
This commit is contained in:
Michał 2024-05-14 12:57:47 +01:00
parent 0deee90bf9
commit 0943c99749
2 changed files with 2 additions and 2 deletions

View file

@ -22,6 +22,6 @@ export type CartItem = {
};
export type JSONResponse = {
data?: { item: Item[] };
data?: any; // Todo make this _not_ an any
error?: string;
};

View file

@ -1,6 +1,6 @@
export function expandOnTyping(element) {
element.oninput = (event) => {
event.target.style.height = "";
event.target.style.height = ""; // skipcq: JS-W1032
event.target.style.height = `${event.target.scrollHeight + 2}px`;
};
}