From 5d6e3053fe6a92eb7bc9fe3e44934bd3c6f5943d Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Mon, 22 Nov 2021 10:13:18 +0200 Subject: [PATCH] fix lint --- .../listing/table-content/table-item/table-item.component.ts | 4 +++- src/lib/utils/functions.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/listing/table-content/table-item/table-item.component.ts b/src/lib/listing/table-content/table-item/table-item.component.ts index 5a2988d..547f699 100644 --- a/src/lib/listing/table-content/table-item/table-item.component.ts +++ b/src/lib/listing/table-content/table-item/table-item.component.ts @@ -1,6 +1,8 @@ import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, OnInit } from '@angular/core'; -import { IListable, ListingComponent, ListingService } from '@iqser/common-ui'; import { Observable } from 'rxjs'; +import { ListingComponent } from '../..'; +import { IListable } from '../../models'; +import { ListingService } from '../../services'; @Component({ selector: 'iqser-table-item', diff --git a/src/lib/utils/functions.ts b/src/lib/utils/functions.ts index bbfac0a..4321cf6 100644 --- a/src/lib/utils/functions.ts +++ b/src/lib/utils/functions.ts @@ -1,5 +1,6 @@ import { tap } from 'rxjs/operators'; import { ITrackable } from '../listing/models/trackable'; +import { MonoTypeOperatorFunction } from 'rxjs'; export function capitalize(value: string): string { if (!value) { @@ -17,7 +18,7 @@ export function humanize(value: string, lowercase = true): string { return words.map(capitalize).join(' '); } -export function log() { +export function log(): MonoTypeOperatorFunction { return tap(res => console.log(res)); }