Skip to content

Commit ff58346

Browse files
committed
Support --noImplicitAny option aboud browserify
1 parent c65748e commit ff58346

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

browserify/browserify-tests.ts.tscparams

Lines changed: 0 additions & 1 deletion
This file was deleted.

browserify/browserify.d.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,23 @@
55

66
/// <reference path="../node/node.d.ts" />
77

8-
interface BrowserifyObject {
9-
add(file: string);
8+
interface BrowserifyObject extends EventEmitter {
9+
add(file: string): BrowserifyObject;
1010
require(file: string, opts?: {
1111
expose: string;
12-
});
12+
}): BrowserifyObject;
1313
bundle(opts?: {
1414
insertGlobals?: boolean;
1515
detectGlobals?: boolean;
1616
debug?: boolean;
1717
standalone?: string;
18-
insertGlobalVars? ;
19-
}, cb?: (err, src) => void): ReadableStream;
20-
21-
external(file: string);
22-
ignore(file: string);
23-
transform(tr: string);
24-
transform(tr: Function);
18+
insertGlobalVars?: any;
19+
}, cb?: (err: any, src: any) => void): ReadableStream;
2520

26-
on(event: string, action: Function): void;
27-
on(event: "file", action: (file, id, parent) => void);
21+
external(file: string): BrowserifyObject;
22+
ignore(file: string): BrowserifyObject;
23+
transform(tr: string): BrowserifyObject;
24+
transform(tr: Function): BrowserifyObject;
2825
}
2926

3027
declare module "browserify" {

browserify/browserify.d.ts.tscparams

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)