impr(types): 🏷️ Aggiunto generico di default per l'interfaccia `InstantiableModel`
This commit is contained in:
parent
59a5927834
commit
57933523c0
|
@ -4,7 +4,7 @@ import {
|
|||
} from 'coloquent';
|
||||
import {snakeCase} from 'lodash';
|
||||
|
||||
export interface InstantiableModel<T extends Model> {
|
||||
export interface InstantiableModel<T extends Model = Model> {
|
||||
new (): (Model | T) & {[prop: string]: any};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue