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

This commit is contained in:
Anoushk Kharangate 2022-06-09 21:46:07 +05:30 committed by GitHub
parent c14668d6ef
commit 8f7572e8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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