Support --noImplicitAny option aboud browserify

This commit is contained in:
vvakame
2014-01-11 23:17:45 +09:00
parent c65748e5a0
commit ff58346bc3
3 changed files with 9 additions and 14 deletions

View File

@@ -1 +0,0 @@
""

View File

@@ -5,26 +5,23 @@
/// <reference path="../node/node.d.ts" />
interface BrowserifyObject {
add(file: string);
interface BrowserifyObject extends EventEmitter {
add(file: string): BrowserifyObject;
require(file: string, opts?: {
expose: string;
});
}): BrowserifyObject;
bundle(opts?: {
insertGlobals?: boolean;
detectGlobals?: boolean;
debug?: boolean;
standalone?: string;
insertGlobalVars? ;
}, cb?: (err, src) => void): ReadableStream;
insertGlobalVars?: any;
}, cb?: (err: any, src: any) => void): ReadableStream;
external(file: string);
ignore(file: string);
transform(tr: string);
transform(tr: Function);
on(event: string, action: Function): void;
on(event: "file", action: (file, id, parent) => void);
external(file: string): BrowserifyObject;
ignore(file: string): BrowserifyObject;
transform(tr: string): BrowserifyObject;
transform(tr: Function): BrowserifyObject;
}
declare module "browserify" {

View File

@@ -1 +0,0 @@
""