impr(types): 🏷️ Aggiunto generico di default per l'interfaccia `InstantiableModel`

This commit is contained in:
Maicol Battistini 2022-01-26 11:33:08 +01:00
parent 59a5927834
commit 57933523c0
1 changed files with 1 additions and 1 deletions

View File

@ -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};
}