UNPKG

@manuth/woltlab-compiler

Version:

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

34 lines (33 loc) 872 B
import { Theme } from "../../Customization/Presentation/Themes/Theme.js"; import { Compiler } from "../Compiler.js"; /** * Provides the functionality to compile themes. */ export declare class ThemeCompiler extends Compiler<Theme> { /** * The name to save the variables to. */ private variableFileName; /** * Initializes a new instance of the {@link ThemeCompiler `ThemeCompiler`} class. * * @param item * The item to compile. * * @param variableFileName * The name of the variable-file. */ constructor(item: Theme, variableFileName?: string); /** * Gets or sets the filename to save variables to. */ get VariableFileName(): string; /** * @inheritdoc */ set VariableFileName(value: string); /** * @inheritdoc */ protected Compile(): Promise<void>; }