chore: prettier format pass on branch files
Auto-format all files modified during the documents-hub-split feature branch that were not yet aligned with the project's Prettier config (single quotes, semicolons, trailing commas). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -13,9 +13,7 @@ import { db } from './index';
|
||||
* return result;
|
||||
* });
|
||||
*/
|
||||
export async function withTransaction<T>(
|
||||
callback: (tx: typeof db) => Promise<T>,
|
||||
): Promise<T> {
|
||||
export async function withTransaction<T>(callback: (tx: typeof db) => Promise<T>): Promise<T> {
|
||||
return db.transaction(callback as unknown as Parameters<typeof db.transaction>[0]) as Promise<T>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user