Quick fix for ReactScheduler type inconsistency (#12828)
Quick fix for ReactScheduler type inconsistency (#12828)

**what is the change?:**
In some cases we had defined the 'callback' as taking two arguments,
when really we meant to indicate the second argument passed to
'scheduleWork'.

**why make this change?:**
For correctness and to unblock something @gaearon is working on. A bit
surprised Flow didn't catch this in the first place.

**test plan:**
Ran tests, flow, lint.
dilidili/react,terminatorheart/react,jdlehman/react,facebook/react,mosoft521/react,yungsters/react,terminatorheart/react,empyrical/react,Simek/react,dilidili/react,rricard/react,chicoxyzzy/react,empyrical/react,billfeller/react,STRML/react,camsong/react,kaushik94/react,VioletLife/react,flarnie/react,glenjamin/react,prometheansacrifice/react,glenjamin/react,VioletLife/react,billfeller/react,billfeller/react,mjackson/react,chenglou/react,yungsters/react,jameszhan/react,Simek/react,roth1002/react,jameszhan/react,mosoft521/react,prometheansacrifice/react,prometheansacrifice/react,rricard/react,yiminghe/react,kaushik94/react,TheBlasfem/react,cpojer/react,yungsters/react,jameszhan/react,glenjamin/react,camsong/react,trueadm/react,roth1002/react,rricard/react,jdlehman/react,flarnie/react,dilidili/react,ericyang321/react,ericyang321/react,jameszhan/react,rickbeerendonk/react,kaushik94/react,nhunzaker/react,VioletLife/react,tomocchino/react,trueadm/react,jameszhan/react,camsong/react,terminatorheart/react,ericyang321/react,trueadm/react,dilidili/react,mosoft521/react,rickbeerendonk/react,mjackson/react,acdlite/react,cpojer/react,roth1002/react,TheBlasfem/react,kaushik94/react,ericyang321/react,cpojer/react,tomocchino/react,rickbeerendonk/react,dilidili/react,ericyang321/react,camsong/react,nhunzaker/react,jdlehman/react,prometheansacrifice/react,Simek/react,VioletLife/react,billfeller/react,jdlehman/react,cpojer/react,Simek/react,billfeller/react,empyrical/react,kaushik94/react,acdlite/react,chicoxyzzy/react,roth1002/react,tomocchino/react,trueadm/react,rickbeerendonk/react,STRML/react,trueadm/react,terminatorheart/react,roth1002/react,yiminghe/react,VioletLife/react,krasimir/react,mosoft521/react,jzmq/react,tomocchino/react,facebook/react,rickbeerendonk/react,yiminghe/react,yungsters/react,mjackson/react,chenglou/react,acdlite/react,yiminghe/react,dilidili/react,mosoft521/react,empyrical/react,yiminghe/react,chicoxyzzy/react,TheBlasfem/react,tomocchino/react,jzmq/react,ericyang321/react,jzmq/react,Simek/react,terminatorheart/react,TheBlasfem/react,jameszhan/react,Simek/react,chicoxyzzy/react,nhunzaker/react,krasimir/react,ArunTesco/react,mjackson/react,STRML/react,empyrical/react,VioletLife/react,nhunzaker/react,empyrical/react,chicoxyzzy/react,flarnie/react,trueadm/react,chenglou/react,chenglou/react,billfeller/react,acdlite/react,yungsters/react,jdlehman/react,krasimir/react,rricard/react,jameszhan/react,yungsters/react,ArunTesco/react,mjackson/react,flarnie/react,trueadm/react,prometheansacrifice/react,camsong/react,cpojer/react,chenglou/react,chenglou/react,jzmq/react,jdlehman/react,nhunzaker/react,kaushik94/react,jdlehman/react,glenjamin/react,rickbeerendonk/react,jzmq/react,rickbeerendonk/react,jzmq/react,krasimir/react,facebook/react,acdlite/react,facebook/react,TheBlasfem/react,tomocchino/react,dilidili/react,mosoft521/react,krasimir/react,camsong/react,facebook/react,nhunzaker/react,krasimir/react,yiminghe/react,cpojer/react,prometheansacrifice/react,STRML/react,Simek/react,STRML/react,STRML/react,rricard/react,cpojer/react,rricard/react,acdlite/react,TheBlasfem/react,facebook/react,krasimir/react,roth1002/react,tomocchino/react,flarnie/react,glenjamin/react,mjackson/react,roth1002/react,mosoft521/react,yiminghe/react,mjackson/react,chenglou/react,kaushik94/react,glenjamin/react,VioletLife/react,jzmq/react,ArunTesco/react,flarnie/react,chicoxyzzy/react,terminatorheart/react,chicoxyzzy/react,yungsters/react,acdlite/react,flarnie/react,empyrical/react,glenjamin/react,ericyang321/react,nhunzaker/react,prometheansacrifice/react,facebook/react,camsong/react,billfeller/react,STRML/react