下面的代码删除警告消息的正确语法是什么?
'MonoTypeOperatorFunction'类型的参数不能分配给'OperatorFunction'类型的参数。
尝试了2,3种情况,但无法摆脱警告消息
return this._http.get<UserViewModel>(url, {withCredentials: true}).do((result: any) => {
if (result && result.length > 0) {
// set readonly flag - if current job is locked
this._isUserReadOnly = result.isReadOnly;
}
}).pipe(finalize(() => {
this.blockUI.stop();
}));