fix linting

This commit is contained in:
2025-05-25 20:48:33 -06:00
parent d6f9567777
commit 26fba66bba
14 changed files with 130 additions and 75 deletions

View File

@@ -8,7 +8,10 @@ export interface QueryExecResult {
export interface DatabaseService {
initialize(): Promise<void>;
query(sql: string, params?: any[]): Promise<QueryExecResult[]>;
run(sql: string, params?: any[]): Promise<{ changes: number; lastId?: number }>;
run(
sql: string,
params?: any[],
): Promise<{ changes: number; lastId?: number }>;
getOneRow(sql: string, params?: any[]): Promise<any[] | undefined>;
getAll(sql: string, params?: any[]): Promise<any[][]>;
}