ReactiveX / rxjs-tslint

TSLint rules targeting RxJS
MIT License
309 stars 41 forks source link

subscribe is deprecated: Use an observer instead of a complete callback (deprecation) #73

Closed digeomel closed 3 years ago

digeomel commented 3 years ago

Hi, I just upgraded my vscode to the latest (1.54.1) and suddenly all our subcscribe() methods to observables are marked as warnings by tslint with this message:

subscribe is deprecated: Use an observer instead of a complete callback (deprecation)

Searching online I found that the new syntax for subscribe() has been around for almost 2 years now 😮 and this is the first time I see it 🤦🏼

This is an Angular 11 project, we migrated over the years "by the book" from Angular 6, so why was this not taken care earlier by the migration scripts? And can rxjs-tslint do this migration automatically?

digeomel commented 3 years ago

Never mind, seems to be totally unrelated to this project.