npm.io
1.5.3 • Published 2 years ago

@types/postcss-html

Licence
MIT
Version
1.5.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/postcss-html

Summary

This package contains type definitions for postcss-html (https://github.com/ota-meshi/postcss-html#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-html.

index.d.ts

import { Parser, Stringifier, Syntax } from "postcss";

declare namespace postcssHtml {
    interface Config {
        css?: Syntax | undefined;
        less?: Syntax | undefined;
        scss?: Syntax | undefined;
    }

    let parse: Parser;
    let stringify: Stringifier;
}

declare function postcssHtml(config?: postcssHtml.Config): Syntax;

export = postcssHtml;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: postcss

Credits

These definitions were written by Adam Thompson-Sharpe.