Merge pull request #34540 from mmkal/patch-1

[umzug] use PromiseLike in custom resolvers
This commit is contained in:
Benjamin Lichtman
2019-04-11 17:13:12 -07:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ declare namespace umzug {
* See https://github.com/sequelize/umzug/tree/master/test/fixtures
* for examples.
*/
customResolver?(path: string): { up: () => Promise<any>, down?: () => Promise<any> };
customResolver?(path: string): { up: () => PromiseLike<any>, down?: () => PromiseLike<any> };
}