ReactiveX/rxjs

WebSocketSubject may have different input and output types.

Aperta

#5381 aperta il 6 apr 2020

 (2 commenti) (2 reazioni) (0 assegnatari)TypeScript (2990 fork)batch import
bughelp wanted

Metriche repository

Star
 (31.704 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Just what the title says... The AnonymousSubject (aka "frankensubject") probably also needs some typings love.

Basically, a nicer interface would be:

class WebSocketSubject<In, Out> extends Observable<Out> implements Observer<In> {
  // ...stuff
}

Guida contributor