UNPKG

relax-orm

Version:
6 lines (5 loc) 409 B
import { ColumnOptionType } from '../enum/option.type'; import { IColumnOption } from '../interface/table-attribute.interface'; import { PrimitiveTypes } from '../interface/where.interface'; export declare function addOption(target: any, propertyKey: string, optionKey: ColumnOptionType, optionValue: PrimitiveTypes): void; export declare function getOptions(target: any, propertyKey: string): IColumnOption;