@websolute/faker.ts
Version:
Easy to Use, Powered by Decorators, Faker.js TypeScript Wrapper
22 lines • 668 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Fixture = exports.FIXTURE_DECORATOR_NAME = void 0;
require("reflect-metadata");
var reflect_1 = require("@plumier/reflect");
exports.FIXTURE_DECORATOR_NAME = 'Fixture';
/**
* Fixture property decorator. This decorator will be parsed and will determine
* the actual value of the decorated property.
*
* @param options
* @default undefined
* @constructor
*/
function Fixture(options) {
return reflect_1.decorateProperty({
type: exports.FIXTURE_DECORATOR_NAME,
value: options,
});
}
exports.Fixture = Fixture;
//# sourceMappingURL=fixture.decorator.js.map