Added toJSON method to Connection class (#849)
* Added toJSON method to Connection class * Updated test * Updated typings
This commit is contained in:
committed by
delvedor
parent
3e9ae8b29c
commit
96a103b305
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