chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] committed 2026-08-17 07:51:36 +00:00
1 parent 9eeafb8c15
commit 7c37f5d8b6
19 files changed
+101 -116

No files matched your search

+2 -5
View File
@@ -7,8 +7,5 @@
* while production eagerly routes through D1.
*/
export function canUseD1(db: D1Database | undefined | null): boolean {
return (
typeof db?.prepare === "function" &&
typeof (db as D1Database).batch === "function"
);
}
return typeof db?.prepare === "function" && typeof (db as D1Database).batch === "function";
}