UNPKG

sequelize-typescript

Version:

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

10 lines 379 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var association_1 = require("../services/association"); function ForeignKey(relatedClassGetter) { return function (target, propertyName) { association_1.addForeignKey(target, relatedClassGetter, propertyName); }; } exports.ForeignKey = ForeignKey; //# sourceMappingURL=ForeignKey.js.map