mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Update index.d.ts
This commit is contained in:
Vendored
+3
-3
@@ -654,14 +654,14 @@ declare namespace webpack {
|
||||
*/
|
||||
|
||||
class BannerPlugin extends Plugin {
|
||||
constructor(options?: BannerPlugin.Options | string);
|
||||
constructor(options: string | BannerPlugin.Options);
|
||||
}
|
||||
|
||||
namespace BannerPlugin {
|
||||
type Filter = string | RegExp;
|
||||
|
||||
|
||||
interface Options {
|
||||
banner?: string;
|
||||
banner: string;
|
||||
entryOnly?: boolean;
|
||||
exclude?: Filter | Filter[];
|
||||
include?: Filter | Filter[];
|
||||
|
||||
Reference in New Issue
Block a user