mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
fix lint rule about Object
This commit is contained in:
Vendored
+2
-2
@@ -47,7 +47,7 @@ export interface IRequestOptions {
|
||||
/** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */
|
||||
fixJSONCtlChars?: boolean;
|
||||
/** Request headers. */
|
||||
headers?: Object;
|
||||
headers?: { [key: string]: any };
|
||||
/**
|
||||
* Request timeout in milliseconds for connecting phase and response receiving phase.
|
||||
* Defaults to exports.
|
||||
@@ -110,7 +110,7 @@ export interface IRequestOptions {
|
||||
/** Enable proxy request, default is false. */
|
||||
enableProxy?: boolean;
|
||||
/** proxy agent uri or options, default is null. */
|
||||
proxy?: string | Object;
|
||||
proxy?: string | { [key: string]: any };
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"interface-name": true,
|
||||
"void-return": false,
|
||||
"strict-export-declare-modifiers": false
|
||||
|
||||
Reference in New Issue
Block a user