@types/progress-bar-webpack-plugin
TypeScript definitions for progress-bar-webpack-plugin
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/progress-bar-webpack-plugin 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/progress-bar-webpack-plugin

Summary

This package contains type definitions for progress-bar-webpack-plugin (https://github.com/clessg/progress-bar-webpack-plugin#readme).

Details

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

index.d.ts

// Type definitions for progress-bar-webpack-plugin 2.1
// Project: https://github.com/clessg/progress-bar-webpack-plugin#readme
// Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import * as ProgressBar from 'progress';
import { Plugin } from 'webpack';

export = ProgressBarPlugin;

declare namespace ProgressBarPlugin {
    interface Options extends ProgressBar.ProgressBarOptions {
        /**
         * the format of the progress bar
         * @default ':bar'
         */
        format?: string | undefined;
        /**
         * optional function to call when the progress bar completes
         */
        callback?: (() => void) | undefined;
        /**
         * option to show summary of time taken
         * @default true
         */
        summary?: boolean | undefined;
        /**
         * custom summary message if summary option is false
         */
        summaryContent?: boolean | undefined;
        /**
         * function to display a custom summary
         * (passed build time)
         */
        customSummary?: ((summary: string) => void) | undefined;
    }
}

/**
 * A progress bar plugin for Webpack.
 */
declare class ProgressBarPlugin extends Plugin {
    constructor(options?: ProgressBarPlugin.Options);
}

Additional Details

Credits

These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).

Current Tags

  • 2.1.2                                ...           latest (5 years ago)
  • 2.1.0                                ...           ts2.8 (6 years ago)
  • 2.1.0                                ...           ts2.9 (6 years ago)
  • 2.1.0                                ...           ts3.0 (6 years ago)
  • 2.1.0                                ...           ts3.1 (6 years ago)
  • 2.1.0                                ...           ts3.2 (6 years ago)
  • 2.1.0                                ...           ts3.3 (6 years ago)
  • 2.1.0                                ...           ts3.4 (6 years ago)
  • 2.1.0                                ...           ts3.5 (6 years ago)
  • 2.1.0                                ...           ts3.6 (6 years ago)
  • 2.1.2                                ...           ts3.7 (5 years ago)
  • 2.1.2                                ...           ts3.8 (5 years ago)
  • 2.1.2                                ...           ts3.9 (5 years ago)
  • 2.1.2                                ...           ts4.0 (5 years ago)
  • 2.1.2                                ...           ts4.1 (5 years ago)
  • 2.1.2                                ...           ts4.2 (5 years ago)
  • 2.1.2                                ...           ts4.3 (5 years ago)
  • 2.1.2                                ...           ts4.4 (5 years ago)
  • 2.1.2                                ...           ts4.5 (5 years ago)
  • 2.1.2                                ...           ts4.6 (5 years ago)
  • 2.1.2                                ...           ts4.7 (5 years ago)
  • 2.1.2                                ...           ts4.8 (5 years ago)
  • 2.1.2                                ...           ts4.9 (5 years ago)

3 Versions

  • 2.1.2                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |