jacany / nosbin

Found // @ts-<directive> comments JS-0295
Anti-pattern
Major
3 months agoa year old
Include a description after the "@ts-ignore" directive to explain why the @ts-ignore is necessary. The description must be 3 characters or longer
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}