mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 19:20:05 +00:00
Merge pull request #34540 from mmkal/patch-1
[umzug] use PromiseLike in custom resolvers
This commit is contained in:
2
types/umzug/index.d.ts
vendored
2
types/umzug/index.d.ts
vendored
@@ -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> };
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user