mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Support --noImplicitAny option aboud browserify
This commit is contained in:
@@ -1 +0,0 @@
|
||||
""
|
||||
21
browserify/browserify.d.ts
vendored
21
browserify/browserify.d.ts
vendored
@@ -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" {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
""
|
||||
Reference in New Issue
Block a user