AS
для массивов, сетов лучше итерирующие методы
Size: a a a
AS
VS
IS
Вキ
IS
AS
IS
Вキ
VS
AS
IS
export const codeCheck = <T>(service: Service) => (source$: Observable<T>): Observable<T> => {
return source$.pipe(
catchError((err: Error) => {
console.log(`ERROR! Code: ${ err.code }, Message: ${ err.message }`);
return throwError(err);
}),
);
};Вキ
export const codeCheck = <T>(service: Service) => (source$: Observable<T>): Observable<T> => {
return source$.pipe(
catchError((err: Error) => {
console.log(`ERROR! Code: ${ err.code }, Message: ${ err.message }`);
return throwError(err);
}),
);
};VS
IS
service получаю ... is not a functionВキ
service получаю ... is not a functionIS
init и не работалоIS
А