mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Add support for plugin
This commit is contained in:
Vendored
+3
-1
@@ -22,6 +22,8 @@ interface BrowserifyObject extends NodeJS.EventEmitter {
|
||||
ignore(file: string): BrowserifyObject;
|
||||
transform(tr: string): BrowserifyObject;
|
||||
transform(tr: Function): BrowserifyObject;
|
||||
plugin(plugin: string, opts?: any): BrowserifyObject;
|
||||
plugin(plugin: Function, opts?: any): BrowserifyObject;
|
||||
}
|
||||
|
||||
declare module "browserify" {
|
||||
@@ -33,4 +35,4 @@ declare module "browserify" {
|
||||
}): BrowserifyObject;
|
||||
|
||||
export = browserify;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user