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:
+1
-1
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"drizzle-kit": "^0.24.2",
|
||||
"@types/bun": "^1.1.10",
|
||||
"bun-types": "^1.1.10",
|
||||
"typescript": "^5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user