We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a31129b commit 71fd863Copy full SHA for 71fd863
types/index.d.ts
@@ -2662,7 +2662,7 @@ export declare namespace Knex {
2662
interface MigrationSource<TMigrationSpec> {
2663
getMigrations(loadExtensions: readonly string[]): Promise<TMigrationSpec[]>;
2664
getMigrationName(migration: TMigrationSpec): string;
2665
- getMigration(migration: TMigrationSpec): Migration;
+ getMigration(migration: TMigrationSpec): Promise<Migration>;
2666
}
2667
2668
interface MigratorConfig {
0 commit comments