UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

29 lines 793 B
import { PackageDescriptor } from "./PackageDescriptor.js"; /** * Provides the abstraction of a package which causes a conflict. */ export class ConflictingPackageDescriptor extends PackageDescriptor { /** * Initializes a new instance of the {@link ConflictingPackageDescriptor `ConflictingPackageDescriptor`} class. * * @param options * The options of the conflicting package descriptor. */ constructor(options) { super(options); this.Version = options.Version; } /** * Gets or sets the version of the package. */ get Version() { return this.version; } /** * @inheritdoc */ set Version(value) { this.version = value; } } //# sourceMappingURL=ConflictingPackageDescriptor.js.map