types: fix variance issues and improve type coverage
#3450
+148
−83
background
wait
wait-all
cancel
Loading