@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
13 lines • 346 B
JavaScript
import { ensure, isDefined, TinyType } from 'tiny-types';
export class Category extends TinyType {
value;
static fromJSON(v) {
return new Category(v);
}
constructor(value) {
super();
this.value = value;
ensure(this.constructor.name, value, isDefined());
}
}
//# sourceMappingURL=Category.js.map