浏览代码

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

Anoushk Kharangate 3 年之前
父节点
当前提交
8f7572e8af
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>;