type fix router

This commit is contained in:
Julian Krauser 2025-04-12 13:22:13 +02:00
parent 5e1708e505
commit 5570baee33

View file

@ -6,7 +6,7 @@ import { GenericViewModel } from "../viewmodels/GenericModel";
import GenericFactory from "../factories/GenericFactory";
export default class GenericRouter<
Controller extends GenericController<Service, Factory, Repository, GenericViewModel>,
Controller extends GenericController<Service, Factory, Repository, ViewModel>,
Service extends GenericService<Repository>,
Factory extends GenericFactory<Repository, ViewModel>,
Repository extends BaseEntity,