diff --git a/types/resources/endpoints.d.ts b/types/resources/endpoints.d.ts index a7e79d4..da31b5a 100644 --- a/types/resources/endpoints.d.ts +++ b/types/resources/endpoints.d.ts @@ -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; /** * delete Endpoint * @method