@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
22 lines • 605 B
JavaScript
import { Category } from "../Category.js";
import { UserOption } from "./UserOption.js";
/**
* Represents an option-category for users.
*/
export class UserCategory extends Category {
/**
* Initializes a new instance of the {@link UserCategory `UserCategory`} class.
*
* @param node
* The node of the category.
*
* @param options
* The options of the category.
*/
constructor(node, options) {
super(node, options, (category, opts) => {
return new UserOption(category, opts);
});
}
}
//# sourceMappingURL=UserCategory.js.map