UNPKG

565 BTypeScriptView Raw
1interface Options {
2 /**
3 * A string used for the indentation of the declaration (default is 4
4 * spaces).
5 */
6 indent?: string | undefined;
7 /**
8 * Defines the placement of open curly brace, either end-of-line (default)
9 * or separate-line
10 */
11 openbrace?: "end-of-line" | "separate-line" | undefined;
12
13 /**
14 * Always inserts a semicolon after the last ruleset(default is false)
15 */
16 autosemicolon?: boolean | undefined;
17}
18declare function beautify(cssText: string, options?: Options): string;
19
20export = beautify;