From d71e921a9e09537acf82439da441b029ed0171ad Mon Sep 17 00:00:00 2001 From: Andrej T Date: Tue, 29 Aug 2017 14:44:10 +0200 Subject: [PATCH] anydb-sql-migrations: stricter type for `create` --- types/anydb-sql-migrations/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/anydb-sql-migrations/index.d.ts b/types/anydb-sql-migrations/index.d.ts index ae922c37ae..f6e12ed752 100644 --- a/types/anydb-sql-migrations/index.d.ts +++ b/types/anydb-sql-migrations/index.d.ts @@ -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; migrateTo: (target?: string) => Promise; check: (f: (m: {