Rxjs: endWith should widen the type if necessary

Created on 25 Sep 2018  路  3Comments  路  Source: ReactiveX/rxjs

Feature Request

startWith can be passed values other than T and if that's done, the operator's return type is widened. See #4034.

endWith needs to be treated similarly and needs an additional dtslint test, etc.

Help Wanted TS types

Most helpful comment

Feel free to ping me if you need to verify something @dkosasih

All 3 comments

@dkosasih If you want to handle this, that would be great.

Feel free to ping me if you need to verify something @dkosasih

A PR for this has been merged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cartant picture cartant  路  3Comments

dooreelko picture dooreelko  路  3Comments

peterbakonyi05 picture peterbakonyi05  路  4Comments

benlesh picture benlesh  路  3Comments

chalin picture chalin  路  4Comments