Skip to content

Commit

Permalink
Merge 4c53aba into 429d13e
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos committed May 12, 2020
2 parents 429d13e + 4c53aba commit 9ef37a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/datasource.d.ts
Expand Up @@ -140,13 +140,13 @@ export declare class DataSource extends EventEmitter {
*/
attach(modelClass: ModelBaseClass): ModelBaseClass;

automigrate(models: string | string[]): Promise<void>;
automigrate(models?: string | string[]): Promise<void>;
// legacy callback style
automigrate(models: string | string[], callback: Callback): void;
automigrate(models: string | string[] | undefined, callback: Callback): void;

autoupdate(models: string | string[]): Promise<void>;
autoupdate(models?: string | string[]): Promise<void>;
// legacy callback style
autoupdate(models: string | string[], callback: Callback): void;
autoupdate(models: string | string[] | undefined, callback: Callback): void;

discoverModelDefinitions(
options?: Options,
Expand Down

0 comments on commit 9ef37a9

Please sign in to comment.