0.3.5 • Published 6 months ago
@types/cssbeautify v0.3.5
Installation
npm install --save @types/cssbeautify
Summary
This package contains type definitions for CSS Beautify (https://github.com/senchalabs/cssbeautify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cssbeautify.
index.d.ts
// Type definitions for CSS Beautify v0.3.1
// Project: https://github.com/senchalabs/cssbeautify
// Definitions by: rictic <https://github.com/rictic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Options {
/**
* A string used for the indentation of the declaration (default is 4
* spaces).
*/
indent?: string | undefined;
/**
* Defines the placement of open curly brace, either end-of-line (default)
* or separate-line
*/
openbrace?: 'end-of-line'|'separate-line' | undefined;
/**
* Always inserts a semicolon after the last ruleset(default is false)
*/
autosemicolon?: boolean | undefined;
}
declare function beautify(cssText: string, options?: Options): string;
export = beautify;
Additional Details
- Last updated: Thu, 08 Jul 2021 09:08:24 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by rictic.