1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix lint issues

This commit is contained in:
Sebastian Gerske 2019-08-29 09:02:39 +02:00
parent dfdbaa53b6
commit e8e3296be0
3 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,8 @@ export class EventHandler extends Instantiable {
get count() { get count() {
return this.events.size return this.events.size
} }
private events = new Set<(blockNumber) => void>() private events = new Set<(blockNumber) => void>()
private lastBlock: number private lastBlock: number
private interval = 200 private interval = 200

View File

@ -44,6 +44,8 @@ export abstract class AgreementTemplate extends ContractBase {
timeOuts: number[], timeOuts: number[],
...args: any[] ...args: any[]
) )
public createAgreement( public createAgreement(
agreementId: string, agreementId: string,
did: string, did: string,

View File

@ -155,10 +155,12 @@ export class OceanAgreements extends Instantiable {
agreementId: string, agreementId: string,
extended?: false extended?: false
): Promise<{ [condition: string]: ConditionState }> ): Promise<{ [condition: string]: ConditionState }>
public async status( public async status(
agreementId: string, agreementId: string,
extended: true extended: true
): Promise<AgreementConditionsStatus> ): Promise<AgreementConditionsStatus>
public async status(agreementId: string, extended: boolean = false) { public async status(agreementId: string, extended: boolean = false) {
const { const {
templateId templateId