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
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: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Septs.