Merge pull request #19422 from wh4everest/patch-1

anydb-sql-migrations: stricter type for `create`
This commit is contained in:
Mine Starks
2017-08-29 10:20:58 -07:00
committed by GitHub
+1 -1
View File
@@ -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: {