Skip to content

Commit 0861ff9

Browse files
committed
address feedback
1 parent 0ebc497 commit 0861ff9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/db/src/scheduler.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ interface PendingAwareJob {
2929
hasPendingGraphRun: (contextId: SchedulerContextId) => boolean
3030
}
3131

32-
function isPendingAwareJob(dep: unknown): dep is PendingAwareJob {
32+
function isPendingAwareJob(dep: any): dep is PendingAwareJob {
3333
return (
3434
typeof dep === `object` &&
3535
dep !== null &&
36-
typeof (dep as { hasPendingGraphRun?: unknown }).hasPendingGraphRun ===
37-
`function`
36+
typeof dep.hasPendingGraphRun === `function`
3837
)
3938
}
4039

0 commit comments

Comments
 (0)