1.0.4 • Published 6 months ago
@types/css-generator v1.0.4
Installation
npm install --save @types/css-generator
Summary
This package contains type definitions for css-generator (https://github.com/luizbills/css-generator.js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-generator.
index.d.ts
// Type definitions for css-generator 1.0
// Project: https://github.com/luizbills/css-generator.js
// Definitions by: Septs <https://github.com/septs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Options {
indentation?: string | undefined;
}
export abstract class Generator {
addRaw(input: string): void;
addRule(selectors: string | string[], declarationList: Record<string, string>): void;
openBlock(type: string, props?: string): void;
closeBlock(): void;
closeBlocks(): void;
getOutput(): string;
}
export function create(options?: Options): Generator;
Additional Details
- Last updated: Thu, 08 Jul 2021 09:08:23 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Septs.