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

2.0.6 • Public • Published

Installation

npm install --save @types/webpack-blocks__postcss

Summary

This package contains type definitions for @webpack-blocks/postcss (https://github.com/andywer/webpack-blocks/tree/master/packages/postcss).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-blocks__postcss.

index.d.ts

import { Block } from "webpack-blocks";

declare namespace postCss {
    type FunctionType = () => string;

    interface Plugin {
        parser?: string | FunctionType | undefined;
        syntax?: string | FunctionType | undefined;
        stringifier?: string | FunctionType | undefined;
    }

    interface Options {
        parser?: string | undefined;
        stringifier?: string | undefined;
        syntax?: string | undefined;
        plugins?: any[] | undefined;
    }
}

declare function postCss(options?: postCss.Options): Block;

export = postCss;

Additional Details

Credits

These definitions were written by Max Boguslavskiy.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/webpack-blocks__postcss

    Weekly Downloads

    24

    Version

    2.0.6

    License

    MIT

    Unpacked Size

    3.92 kB

    Total Files

    5

    Last publish

    Collaborators

    • types