resuelto error de tipos
This commit is contained in:
1 parent
2d8a03fc4e
commit
8055a47963
1 file changed
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
// $inspect(usuarios, loading);
|
// $inspect(usuarios, loading);
|
||||||
|
|
||||||
let timeoutId: number | undefined;
|
let timeoutId: ReturnType<typeof setTimeout> | number | undefined;
|
||||||
function buscar() {
|
function buscar() {
|
||||||
if (timeoutId) {
|
if (timeoutId) {
|
||||||
clearTimeout(timeoutId);
|
clearTimeout(timeoutId);
|
||||||
|
|||||||
Reference in new issue
Block a user