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: {