We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ebc497 commit 0861ff9Copy full SHA for 0861ff9
1 file changed
packages/db/src/scheduler.ts
@@ -29,12 +29,11 @@ interface PendingAwareJob {
29
hasPendingGraphRun: (contextId: SchedulerContextId) => boolean
30
}
31
32
-function isPendingAwareJob(dep: unknown): dep is PendingAwareJob {
+function isPendingAwareJob(dep: any): dep is PendingAwareJob {
33
return (
34
typeof dep === `object` &&
35
dep !== null &&
36
- typeof (dep as { hasPendingGraphRun?: unknown }).hasPendingGraphRun ===
37
- `function`
+ typeof dep.hasPendingGraphRun === `function`
38
)
39
40
0 commit comments