chore: bump typescript 7 (#15465)

This commit is contained in:
DarkSky authored and GitHub committed 2026-08-11 03:09:54 +08:00
1 parent 0c7b20dc18
commit 6375f5ab8c
103 files changed
+1468 -1065

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
"types": "./index.d.ts",
"type": "module",
"scripts": {
"build": "tsc"
"build": "yarn run -T tsc"
},
"sideEffects": false,
"exports": {
@@ -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));
+1 -1
View File
@@ -3,7 +3,7 @@
"description": "Std for blocksuite blocks",
"type": "module",
"scripts": {
"build": "tsc"
"build": "yarn run -T tsc"
},
"sideEffects": false,
"keywords": [],
+1 -1
View File
@@ -3,7 +3,7 @@
"description": "BlockSuite data store built for general purpose state management.",
"type": "module",
"scripts": {
"build": "tsc"
"build": "yarn run -T tsc"
},
"sideEffects": false,
"keywords": [],
+1 -1
View File
@@ -3,7 +3,7 @@
"description": "BlockSuite data synchronization engine abstraction and implementation.",
"type": "module",
"scripts": {
"build": "tsc"
"build": "yarn run -T tsc"
},
"sideEffects": false,
"keywords": [],