import { Model } from 'sequelize-typescript' // Thanks to sequelize-typescript: https://github.com/RobinBuschmann/sequelize-typescript export type Diff = ({ [P in T]: P } & { [P in U]: never } & { [ x: string ]: never })[T] export type Omit = { [P in Diff]: T[P] } export type RecursivePartial = { [P in keyof T]?: RecursivePartial } export type FilteredModelAttributes> = RecursivePartial>> & { id?: number | any createdAt?: Date | any updatedAt?: Date | any deletedAt?: Date | any version?: number | any }