Newly Purchased Memories

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

    2.0.3 • 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

    // Type definitions for @webpack-blocks/postcss 2.0
    // Project: https://github.com/andywer/webpack-blocks/tree/master/packages/postcss
    // Definitions by: Max Boguslavskiy <https://github.com/maxbogus>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 3.7
    
    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.

    Keywords

    none

    Install

    npm i @types/webpack-blocks__postcss

    DownloadsWeekly Downloads

    201

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    4.54 kB

    Total Files

    4

    Last publish

    Collaborators

    • types