mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Node 9.3 (#22593)
* SignalsListener signal name https://github.com/nodejs/node/pull/15606 * created Node 8 folder * Create tsconfig.json * Create tslint.json * Create node-tests.ts * Node 9 * update node header * Tabs to spaces * copy inspector.d.ts to v8 folder * correct path mapping for v8 * disable no-declare-current-package for v8 module * Correct version to 9.3.x Add writableHighWaterMark/readableHighWaterMark to WriteStream/ReadStream fixed setUncaughtExceptionCaptureCallback() Add module.builtinModules change os.EOL to const add writableHighWaterMark to Duplex writableHighWaterMark and readableHighWaterMark are readonly * fs.realpathSync.native and fs.realpath.native * fs.realpath.native tests
This commit is contained in:
7160
types/node/v8/index.d.ts
vendored
Normal file
7160
types/node/v8/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2488
types/node/v8/inspector.d.ts
vendored
Normal file
2488
types/node/v8/inspector.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3873
types/node/v8/node-tests.ts
Normal file
3873
types/node/v8/node-tests.ts
Normal file
File diff suppressed because it is too large
Load Diff
29
types/node/v8/tsconfig.json
Normal file
29
types/node/v8/tsconfig.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"node-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../../",
|
||||
"typeRoots": [
|
||||
"../../"
|
||||
],
|
||||
"paths": {
|
||||
"node": [
|
||||
"node/v8"
|
||||
]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
26
types/node/v8/tslint.json
Normal file
26
types/node/v8/tslint.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// All are TODOs
|
||||
"ban-types": false,
|
||||
"dt-header": false,
|
||||
"max-line-length": false,
|
||||
"no-any-union": false,
|
||||
"no-duplicate-imports": false,
|
||||
"no-duplicate-variable": false,
|
||||
"no-empty-interface": false,
|
||||
"no-inferrable-types": false,
|
||||
"no-internal-module": false,
|
||||
"no-namespace": false,
|
||||
"no-redundant-jsdoc": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-unnecessary-class": false,
|
||||
"no-unnecessary-generics": false,
|
||||
"no-unnecessary-qualifier": false,
|
||||
"no-var-keyword": false,
|
||||
"prefer-const": false,
|
||||
"prefer-method-signature": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user