Fix bun-types resolution; fix possibly-undefined health-check row

Same bun-types-vs-@types/bun fix as continuum-common. Also fixes a real
noUncheckedIndexedAccess violation in the /health route: db.execute()'s
result is T[], so rows[0] is 'T | undefined', not T — destructuring assumed
it always existed. Verified with a clean 'bunx tsc --noEmit'.
This commit is contained in:
2026-08-28 18:28:06 +00:00
parent 4d13570f0b
commit 401c65762b
3 changed files with 293 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
},
"devDependencies": {
"drizzle-kit": "^0.24.2",
"@types/bun": "^1.1.10",
"bun-types": "^1.1.10",
"typescript": "^5.6.2"
}
}