Browse Source

ts: add alternative to rpc deprecated comments (#1832)

Anoushk Kharangate 3 years ago
parent
commit
8f7572e8af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ts/src/program/index.ts

+ 1 - 0
ts/src/program/index.ts

@@ -79,6 +79,7 @@ export class Program<IDL extends Idl = Idl> {
    * });
    * ```
    * @deprecated
+   * Use program.methods.<method>(...args).rpc() instead
    */
   readonly rpc: RpcNamespace<IDL>;