From 248fd4fbdaaf8f20953a9ac0de69d25eed3ad5cd Mon Sep 17 00:00:00 2001 From: huzaif Date: Wed, 6 Jan 2021 16:09:20 +0530 Subject: [PATCH] updated types --- types/resources/endpoints.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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