«subscribe» 태그된 질문

4
구독이 더 이상 사용되지 않음 : 오류 콜백 대신 관찰자를 사용하십시오.
linter를 실행하면 다음과 같이 표시됩니다. subscribe is deprecated: Use an observer instead of an error callback 코드 (angular-cli가있는 angular 7 앱에서) : this.userService.updateUser(data).pipe( tap(() => {bla bla bla}) ).subscribe( this.handleUpdateResponse.bind(this), this.handleError.bind(this) ); 무엇을 어떻게 사용해야하는지 정확히 모르겠습니다 ... 감사!
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.