forked from jsnbuchanan/crowd-funder-for-time-pwa
fix problem with initialization & refactor types
This commit is contained in:
@@ -9,6 +9,6 @@ export interface DatabaseService {
|
||||
initialize(): Promise<void>;
|
||||
query(sql: string, params?: any[]): Promise<QueryExecResult[]>;
|
||||
run(sql: string, params?: any[]): Promise<{ changes: number; lastId?: number }>;
|
||||
get(sql: string, params?: any[]): Promise<any[] | undefined>;
|
||||
all(sql: string, params?: any[]): Promise<any[][]>;
|
||||
}
|
||||
getOneRow(sql: string, params?: any[]): Promise<any[] | undefined>;
|
||||
getAll(sql: string, params?: any[]): Promise<any[][]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user