fix linting issues

This commit is contained in:
Art Lowel
2019-11-26 17:42:27 +01:00
parent 8522c35186
commit 77f6294bde
35 changed files with 76 additions and 105 deletions

View File

@@ -126,9 +126,8 @@ export const getFirstOccurrence = () =>
map((rd) => Object.assign(rd, { payload: rd.payload.page.length > 0 ? rd.payload.page[0] : undefined }))
);
export const obsLog = (logString?: string) =>
<T>(source: Observable<T>): Observable<T> =>
source.pipe(
tap((t) => console.log(logString || '', t))
);
);