chore: bump typescript 7 (#15465)

This commit is contained in:
DarkSky
2026-08-11 03:09:54 +08:00
committed by GitHub
parent 0c7b20dc18
commit 6375f5ab8c
103 changed files with 1468 additions and 1065 deletions
@@ -24,9 +24,7 @@ export function noop(_?: unknown) {
}
export async function nextTick() {
// @ts-expect-error check window.scheduler
if ('scheduler' in window && 'yield' in window.scheduler) {
// @ts-expect-error check window.scheduler.yield
return window.scheduler.yield();
} else if (typeof requestIdleCallback !== 'undefined') {
return new Promise(resolve => requestIdleCallback(resolve));