mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
fix mthod order and keep organized
This commit is contained in:
+1
-1
@@ -10,8 +10,8 @@ export function enablePromise(enablePromise: boolean): void;
|
||||
|
||||
export function openDatabase(params: DatabaseParams): Promise<SQLiteDatabase>;
|
||||
export function openDatabase(params: DatabaseParams, success?: () => void, error?: (e: SQLError) => void): SQLiteDatabase;
|
||||
export function deleteDatabase(params: DatabaseParams, success?: () => void, error?: (err: SQLError) => void): void;
|
||||
export function deleteDatabase(params: DatabaseParams): Promise<void>;
|
||||
export function deleteDatabase(params: DatabaseParams, success?: () => void, error?: (err: SQLError) => void): void;
|
||||
export type Location = 'default' | 'Library' | 'Documents';
|
||||
export interface DatabaseOptionalParams {
|
||||
createFromLocation?: number | string;
|
||||
|
||||
Reference in New Issue
Block a user