We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c931d8 commit 36ae23dCopy full SHA for 36ae23d
packages/runtime-core/src/scheduler.ts
@@ -130,7 +130,7 @@ function queueCb(
130
!activeQueue ||
131
!activeQueue.includes(
132
cb,
133
- (cb as SchedulerJob).allowRecurse ? index + 1 : index
+ cb.allowRecurse ? index + 1 : index
134
)
135
) {
136
pendingQueue.push(cb)
@@ -221,7 +221,7 @@ export function flushPostFlushCbs(seen?: CountMap) {
221
}
222
223
const getId = (job: SchedulerJob): number =>
224
- job.id == null ? Infinity : job.id!
+ job.id == null ? Infinity : job.id
225
226
function flushJobs(seen?: CountMap) {
227
isFlushPending = false
0 commit comments