mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
[browserify] Update definitions to match latest API. Add comments from documentation.
I've also inferred extra information through examining the source code, as particular options are not well-documented. This also updates envify's typings to be more specific.
This commit is contained in:
Vendored
+4
-2
@@ -3,12 +3,14 @@
|
||||
// Definitions by: Qubo <https://github.com/tkQubo>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module "envify" {
|
||||
var envify: Function;
|
||||
var envify: (file: string, environment: { [name: string]: any }) => NodeJS.ReadWriteStream;
|
||||
export = envify;
|
||||
}
|
||||
|
||||
declare module "envify/custom" {
|
||||
function envify(environment: { [name: string]: any }): Function;
|
||||
function envify(environment: { [name: string]: any }): (file: string, environment: { [name: string]: any }) => NodeJS.ReadWriteStream;
|
||||
export = envify;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user