Ver Fonte

index-builder: strange build error '@ts-ignore'ing for now

Mokhtar Naamani há 4 anos atrás
pai
commit
60e19640fa
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      query-node/index-builder/src/utils/wait-for.ts

+ 2 - 0
query-node/index-builder/src/utils/wait-for.ts

@@ -52,6 +52,8 @@ export async function waitFor(condition: () => boolean, exit?: () => boolean, po
         }
         resolve()
       } else {
+        // Type 'number' is not assignable to type 'Timeout | undefined'. !!?
+        // @ts-ignore
         timeout = setTimeout(checkCondition, pollInterval);
       }