Skip to content

Commit

Permalink
Fix return types for blockchain adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasstrehle committed Jun 17, 2024
1 parent 7881c55 commit e354a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/blockchain_adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ export type BCData<T extends BCEntryType> =


@sync export class BCEntry<T extends BCEntryType = BCEntryType> {
@property index!: entry_index
@property index!: number
@property type!:T
@property data!:BCData<T>
@property creator?:Endpoint
@property signature?:ArrayBuffer

constructor(data?: {
index: entry_index,
index: number,
type:T,
data:BCData<T>,
creator?:Endpoint,
Expand Down

0 comments on commit e354a87

Please sign in to comment.