jacany / nosbin

Use // @ts-expect-error over // @ts-ignore JS-0372
Anti-pattern
Minor
4 months ago4 months old
Use "@ts-expect-error" to ensure an error is actually being suppressed
186	}
187
188	public sub(filters: any[], onEvent: (event: Event, isAfterEose: boolean, relayUrl: string | undefined) => void, maxDelayms = 100) {
189		// @ts-ignore190		return this.relays.subscribe(filters, this.getCurrentRelaysInArray(), onEvent, maxDelayms, undefined)
191	}
192}