Skip to content

Commit

Permalink
fix(typings): correct return type for model.schema() (#10624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrysa authored and sushantdhiman committed Mar 26, 2019
1 parent d81ea5e commit b0da59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/lib/model.d.ts
Expand Up @@ -1504,7 +1504,7 @@ export abstract class Model<T = any, T2 = any> extends Hooks {
this: { new (): M } & typeof Model,
schema: string,
options?: SchemaOptions
): M;
): { new (): M } & typeof Model;

/**
* Get the tablename of the model, taking schema into account. The method will return The name as a string
Expand Down

0 comments on commit b0da59b

Please sign in to comment.