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:
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…
x
Reference in New Issue
Block a user