Ver Fonte

docs: Fix a couple of typos in ts comments (#345)

John Rees há 4 anos atrás
pai
commit
d187dc5be9
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      ts/src/program/index.ts
  2. 1 1
      ts/src/program/namespace/account.ts

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

@@ -304,7 +304,7 @@ export class Program {
   }
 
   /**
-   * Invokes the given callback everytime the given event is emitted.
+   * Invokes the given callback every time the given event is emitted.
    *
    * @param eventName The PascalCase name of the event, provided by the IDL.
    * @param callback  The function to invoke whenever the event is emitted from

+ 1 - 1
ts/src/program/namespace/account.ts

@@ -84,7 +84,7 @@ export class AccountClient {
   private _programId: PublicKey;
 
   /**
-   * Returns the cleint's wallet and network provider.
+   * Returns the client's wallet and network provider.
    */
   get provider(): Provider {
     return this._provider;