Added toJSON method to Connection class (#849)
* Added toJSON method to Connection class * Updated test * Updated typings
This commit is contained in:
committed by
GitHub
parent
c76d0249c0
commit
7f77250ed5
1
lib/Connection.d.ts
vendored
1
lib/Connection.d.ts
vendored
@ -78,6 +78,7 @@ export default class Connection {
|
||||
buildRequestObject(params: any): http.ClientRequestArgs;
|
||||
// @ts-ignore
|
||||
[inspect.custom](object: any, options: InspectOptions): string;
|
||||
toJSON(): any;
|
||||
}
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user