DefinitelyTyped/types/webpack-notifier/index.d.ts
2018-03-05 18:59:53 -06:00

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;
}