Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function HasMany(options: IHasManyBasicOptions) {
const c_options = {
foreign_key: options.foreign_key,
integrity: options.integrity,
type: options.type,
};
const c = cormo.HasMany(c_options);
return (target: cormo.BaseModel, propertyKey: string) => {
c(target, propertyKey);
};
}