UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

17 lines 507 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Category = void 0; const tiny_types_1 = require("tiny-types"); class Category extends tiny_types_1.TinyType { value; static fromJSON(v) { return new Category(v); } constructor(value) { super(); this.value = value; (0, tiny_types_1.ensure)(this.constructor.name, value, (0, tiny_types_1.isDefined)()); } } exports.Category = Category; //# sourceMappingURL=Category.js.map