Skip to content

Commit

Permalink
Merge pull request #57 from qianbin/types
Browse files Browse the repository at this point in the history
Types
  • Loading branch information
qianbin authored Aug 13, 2019
2 parents c45665a + 7838caa commit 0057948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ declare namespace Connex {
namespace Thor {
interface Ticker {
/**
* @returns a promise resolves right after head block changed
* @returns a promise resolves to summary of head block right after head block changed
* @remarks The returned promise never rejects.
*/
next(): Promise<void>
next(): Promise<Status['head']>
}

interface AccountVisitor {
Expand Down Expand Up @@ -486,7 +486,7 @@ declare namespace Connex {
* Returns whether an address is owned by user
* @param addr account address
*/
owned(addr: string): boolean
owned(addr: string): Promise<boolean>
}

namespace Vendor {
Expand Down

0 comments on commit 0057948

Please sign in to comment.