change object to Object for 2.1 test

This commit is contained in:
SoraYama
2018-02-14 02:38:16 +08:00
parent ac36a10cea
commit dc9f306a6e
+2 -2
View File
@@ -46,7 +46,7 @@ export interface RequestOptions {
/** Fix the control characters (U+0000 through U+001F) before JSON parse response. Default is false. */
fixJSONCtlChars?: boolean;
/** Request headers. */
headers?: object;
headers?: Object;
/**
* Request timeout in milliseconds for connecting phase and response receiving phase.
* Defaults to exports.
@@ -109,7 +109,7 @@ export interface RequestOptions {
/** Enable proxy request, default is false. */
enableProxy?: boolean;
/** proxy agent uri or options, default is null. */
proxy?: string | object;
proxy?: string | Object;
}
/**