mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-28 02:16:07 +00:00
switch data type to any (need to fix)
Skip quality check on utils
This commit is contained in:
parent
0deee90bf9
commit
0943c99749
|
@ -22,6 +22,6 @@ export type CartItem = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type JSONResponse = {
|
export type JSONResponse = {
|
||||||
data?: { item: Item[] };
|
data?: any; // Todo make this _not_ an any
|
||||||
error?: string;
|
error?: string;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export function expandOnTyping(element) {
|
export function expandOnTyping(element) {
|
||||||
element.oninput = (event) => {
|
element.oninput = (event) => {
|
||||||
event.target.style.height = "";
|
event.target.style.height = ""; // skipcq: JS-W1032
|
||||||
event.target.style.height = `${event.target.scrollHeight + 2}px`;
|
event.target.style.height = `${event.target.scrollHeight + 2}px`;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue