mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Upstream repo SYNCHRONISATION
This commit is contained in:
Vendored
+4
-3
@@ -1,11 +1,11 @@
|
||||
// Type definitions for Node.js v6.x
|
||||
// Type definitions for Node.js v7.x
|
||||
// Project: http://nodejs.org/
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
* *
|
||||
* Node.js v6.x API *
|
||||
* Node.js v7.x API *
|
||||
* *
|
||||
************************************************/
|
||||
|
||||
@@ -619,6 +619,7 @@ declare module "http" {
|
||||
headers?: { [key: string]: any };
|
||||
auth?: string;
|
||||
agent?: Agent | boolean;
|
||||
timeout?: number;
|
||||
}
|
||||
|
||||
export interface Server extends net.Server {
|
||||
@@ -3955,7 +3956,7 @@ declare module "v8" {
|
||||
physical_space_size: number;
|
||||
}
|
||||
|
||||
const enum DoesZapCodeSpaceFlag {
|
||||
enum DoesZapCodeSpaceFlag {
|
||||
Disabled = 0,
|
||||
Enabled = 1
|
||||
}
|
||||
|
||||
@@ -846,6 +846,10 @@ namespace http_tests {
|
||||
request.setNoDelay(true);
|
||||
request.abort();
|
||||
}
|
||||
|
||||
const options: http.RequestOptions = {
|
||||
timeout: 30000
|
||||
};
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
|
||||
+2
-1
@@ -15,6 +15,7 @@
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true
|
||||
}
|
||||
}
|
||||
Vendored
+4121
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../../",
|
||||
"typeRoots": [
|
||||
"../../"
|
||||
],
|
||||
"types": [],
|
||||
"paths": {
|
||||
"node": ["node/v6"]
|
||||
},
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"node-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user