1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 07:17:55 +01:00

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

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