UNPKG

sequelize-typescript

Version:

Decorators and some other extras for sequelize (v3 + v4)

8 lines (7 loc) 384 B
/// <reference types="sequelize" /> import { AssociationForeignKeyOptions, AssociationOptionsManyToMany } from "sequelize"; import { IPreparedThroughOptions } from './IPreparedThroughOptions'; export interface IPreparedAssociationOptionsBelongsToMany extends AssociationOptionsManyToMany { through: IPreparedThroughOptions; otherKey?: string | AssociationForeignKeyOptions; }