不要怂,就是干,撸起袖子干!

Commit b0da59b6 by Val Committed by Sushant

fix(typings): correct return type for model.schema() (#10624)

1 parent d81ea5e4
Showing with 1 additions and 1 deletions
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!