UNPKG

374 BTypeScriptView Raw
1import { ThroughOptions as OriginThroughOptions } from 'sequelize';
2import { ModelClassGetter } from '../../model/shared/model-class-getter';
3export declare type ThroughOptions<TCreationAttributes, TModelAttributes> = {
4 [K in keyof OriginThroughOptions]: K extends 'model' ? ModelClassGetter<TCreationAttributes, TModelAttributes> | string : OriginThroughOptions[K];
5};