chore: upgrade typecheck to TypeScript 7.0.2 (#56300)

Co-authored-by: kitlangton <7587245+kitlangton@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-10-17 13:26:46 -07:00
committed by GitHub
Unverified
parent 86c7f7c840
commit 23359e9fe6
66 changed files with 188 additions and 123 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
"build": "bun run script/build.ts",
"update-models-snapshot": "bun run script/update-models-snapshot.ts",
"test": "bun run script/test.ts",
"typecheck": "tsgo -b tsconfig.json tsconfig.tests.json"
"typecheck": "tsc -b tsconfig.json tsconfig.tests.json"
},
"exports": {
"./*": "./src/*.ts"
+3 -1
View File
@@ -125,7 +125,9 @@ export function applyOnly(db: Database, input: Migration[]) {
const relaxForeignKeys = supportsForeignKeyToggle
? db.run(sql`PRAGMA foreign_keys = OFF`)
: db.run(sql`PRAGMA defer_foreign_keys = ON`)
const restoreForeignKeys = supportsForeignKeyToggle ? db.run(sql`PRAGMA foreign_keys = ON`) : Effect.void
const restoreForeignKeys = supportsForeignKeyToggle
? Effect.asVoid(db.run(sql`PRAGMA foreign_keys = ON`))
: Effect.void
yield* relaxForeignKeys
yield* apply.pipe(Effect.ensuring(restoreForeignKeys.pipe(Effect.orDie)))
})
+1
View File
@@ -2,6 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/bun/tsconfig.json",
"compilerOptions": {
"types": ["bun"],
"noUnusedLocals": true,
"composite": true,
"declaration": true,
+1
View File
@@ -2,6 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/bun/tsconfig.json",
"compilerOptions": {
"types": ["bun"],
"noUnusedLocals": true,
"incremental": true,
"noUncheckedIndexedAccess": false,