From 6432e54f95c966058dee72fb24d96a53a8b3b8d9 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Tue, 15 Feb 2022 10:48:50 +0300 Subject: [PATCH] Lint errors was fixed --- .../packages/theme-shared/src/lib/models/confirmation.ts | 1 - .../theme-shared/src/lib/services/confirmation.service.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/npm/ng-packs/packages/theme-shared/src/lib/models/confirmation.ts b/npm/ng-packs/packages/theme-shared/src/lib/models/confirmation.ts index e19ca43a1b..9ca4076187 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/models/confirmation.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/models/confirmation.ts @@ -1,5 +1,4 @@ import { LocalizationParam } from '@abp/ng.core'; -import {TemplateRef} from "@angular/core"; export namespace Confirmation { export interface Options { diff --git a/npm/ng-packs/packages/theme-shared/src/lib/services/confirmation.service.ts b/npm/ng-packs/packages/theme-shared/src/lib/services/confirmation.service.ts index 6f5ed1bc11..8ad925ee5b 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/services/confirmation.service.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/services/confirmation.service.ts @@ -2,8 +2,8 @@ import { ContentProjectionService, LocalizationParam, PROJECTION_STRATEGY } from import { ComponentRef, Injectable } from '@angular/core'; import { fromEvent, Observable, ReplaySubject, Subject } from 'rxjs'; import { debounceTime, filter, takeUntil } from 'rxjs/operators'; -import { ConfirmationComponent } from '../components/confirmation/confirmation.component'; -import { Confirmation } from '../models/confirmation'; +import { ConfirmationComponent } from '../components'; +import { Confirmation } from '../models'; @Injectable({ providedIn: 'root' }) export class ConfirmationService { @@ -93,7 +93,7 @@ export class ConfirmationService { debounceTime(150), filter((key: KeyboardEvent) => key && key.key === 'Escape'), ) - .subscribe(_ => { + .subscribe(() => { this.clear(); }); }