fix lint
This commit is contained in:
parent
3ddedbbcf3
commit
5d6e3053fe
@ -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',
|
||||
|
||||
@ -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<T>() {
|
||||
export function log<T>(): MonoTypeOperatorFunction<T> {
|
||||
return tap<T>(res => console.log(res));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user