import { ModelCtor, Model } from 'sequelize'; export interface IRepository { } export class Repository implements IRepository { model: ModelCtor; constructor(model: ModelCtor) { this.model = model; } findAll() {} findOne() {} create() {} update() {} destroy() {} }