Skip to content

Commit

Permalink
Merge pull request #36 from vechain/types
Browse files Browse the repository at this point in the history
define Decoded type
  • Loading branch information
qianbin authored Mar 8, 2019
2 parents c5e1ac3 + 9ee376f commit 469ae8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ declare namespace Connex {
topics: string[]
data: string
meta?: LogMeta
decoded?: object
decoded?: Decoded
}

namespace Event {
Expand Down Expand Up @@ -455,8 +455,10 @@ declare namespace Connex {
reverted: boolean
events: Event[]
transfers: Transfer[]
decoded?: object
decoded?: Decoded | { revertReason: string }
}

type Decoded = { __length__: number } & { [field: string]: string }
}

interface Vendor {
Expand Down

0 comments on commit 469ae8d

Please sign in to comment.