ReactiveX/rxjs

WebSocketSubject may have different input and output types.

开放

#5,381 创建于 2020年4月6日

 (2 条评论) (2 个反应) (0 位负责人)TypeScript (2,990 个派生)batch import
bughelp wanted

仓库指标

星标
 (31,704 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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
}

贡献者指南