From 8f7572e8afc713261ad1060437de72a9025ede43 Mon Sep 17 00:00:00 2001 From: Anoushk Kharangate <32778608+anoushk1234@users.noreply.github.com> Date: Thu, 9 Jun 2022 21:46:07 +0530 Subject: [PATCH] ts: add alternative to rpc deprecated comments (#1832) --- ts/src/program/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/src/program/index.ts b/ts/src/program/index.ts index 985b84d9a..eeba478d4 100644 --- a/ts/src/program/index.ts +++ b/ts/src/program/index.ts @@ -79,6 +79,7 @@ export class Program { * }); * ``` * @deprecated + * Use program.methods.(...args).rpc() instead */ readonly rpc: RpcNamespace;