mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
27 lines
704 B
TypeScript
27 lines
704 B
TypeScript
// Type definitions for webpack-notifier 1.5
|
|
// Project: https://github.com/Turbo87/webpack-notifier#readme
|
|
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
import { Plugin } from 'webpack';
|
|
|
|
export = WebpackNotifierPlugin;
|
|
|
|
declare class WebpackNotifierPlugin extends Plugin {
|
|
constructor(options?: WebpackNotifierPlugin.Options);
|
|
}
|
|
|
|
declare namespace WebpackNotifierPlugin {
|
|
interface Options {
|
|
alwaysNotify?: boolean;
|
|
contentImage?: string;
|
|
excludeWarnings?: boolean;
|
|
skipFirstNotification?: boolean;
|
|
title?: string;
|
|
}
|
|
|
|
/** @deprecated use Options */
|
|
type Config = Options;
|
|
}
|