mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #19422 from wh4everest/patch-1
anydb-sql-migrations: stricter type for `create`
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ export interface MigrationTask {
|
||||
down: MigFn;
|
||||
name: string;
|
||||
}
|
||||
export declare function create(db: AnydbSql, tasks: any): {
|
||||
export declare function create(db: AnydbSql, tasks: string | MigrationTask[]): {
|
||||
run: () => Promise<any>;
|
||||
migrateTo: (target?: string) => Promise<any>;
|
||||
check: (f: (m: {
|
||||
|
||||
Reference in New Issue
Block a user