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

1.5.3 • Public • Published

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 09:09:39 GMT
  • Dependencies: postcss

Credits

These definitions were written by Adam Thompson-Sharpe.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/postcss-html

Weekly Downloads

5,507

Version

1.5.3

License

MIT

Unpacked Size

3.42 kB

Total Files

5

Last publish

Collaborators

  • types