updated types

This commit is contained in:
huzaif 2021-01-06 16:09:20 +05:30
parent bb0dc9924f
commit 248fd4fbda

View file

@ -108,7 +108,7 @@ export class EndpointInterface extends PlivoResourceInterface {
* @promise {object} return {@link Endpoint} object if success
* @fail {Error} return Error
*/
update(id: string, params: object): any;
update(id: string, params: object): Promise<UpdateEndpointResponse>;
/**
* delete Endpoint
* @method