@types/css-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/css-generator

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

3.37 kB

Total Files

5

Last publish

Collaborators

  • types