From d370d6657934ae0393849d00aa9b16da09521aff Mon Sep 17 00:00:00 2001 From: rfrt Date: Mon, 9 Sep 2024 15:26:11 +0200 Subject: [PATCH] fix: lint --- projects/core/src/services/lazy-loader.service.ts | 2 +- projects/core/src/services/media.service.ts | 2 +- .../date-picker/src/date-adapter/multi-format-date-adapter.ts | 2 +- projects/tooltip/src/tooltip.service.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/core/src/services/lazy-loader.service.ts b/projects/core/src/services/lazy-loader.service.ts index ef2f69f..6756417 100644 --- a/projects/core/src/services/lazy-loader.service.ts +++ b/projects/core/src/services/lazy-loader.service.ts @@ -1,5 +1,5 @@ import { ComponentType } from '@angular/cdk/portal'; -import { ɵcreateInjector as createInjector, inject, Injectable, Injector, Type } from '@angular/core'; +import { inject, Injectable, Injector, ɵcreateInjector as createInjector, Type } from '@angular/core'; import { from, map, Observable } from 'rxjs'; export interface LoadModuleInfos { diff --git a/projects/core/src/services/media.service.ts b/projects/core/src/services/media.service.ts index e948f55..256d8d5 100644 --- a/projects/core/src/services/media.service.ts +++ b/projects/core/src/services/media.service.ts @@ -98,7 +98,7 @@ export class NgxMediaService implements OnDestroy { public mql = {} as Record; private zone = inject(NgZone); - private mediaDefinitions? = inject>(mediaQueryDefinitions, { optional: true }); + private mediaDefinitions? = inject(mediaQueryDefinitions, { optional: true }); public constructor() { diff --git a/projects/date-picker/src/date-adapter/multi-format-date-adapter.ts b/projects/date-picker/src/date-adapter/multi-format-date-adapter.ts index 38cdbf5..4113dfd 100644 --- a/projects/date-picker/src/date-adapter/multi-format-date-adapter.ts +++ b/projects/date-picker/src/date-adapter/multi-format-date-adapter.ts @@ -2,8 +2,8 @@ import { inject, Injectable, InjectionToken, Type } from '@angular/core'; import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core'; import { format, isValid, Locale, setHours, setMinutes, setSeconds } from 'date-fns'; -import { DateTimeAdapter } from './date-time-adapter'; import { validateAndParseDateStr } from './date.util'; +import { DateTimeAdapter } from './date-time-adapter'; // eslint-disable-next-line @typescript-eslint/naming-convention export const ACCEPTED_NON_DATE_VALUES = new InjectionToken('ACCEPTED_NON_DATE_VALUES'); diff --git a/projects/tooltip/src/tooltip.service.ts b/projects/tooltip/src/tooltip.service.ts index 6bca0cc..ed35140 100644 --- a/projects/tooltip/src/tooltip.service.ts +++ b/projects/tooltip/src/tooltip.service.ts @@ -5,8 +5,8 @@ import { NgxAbstractLazyModule, NgxLazyLoaderService, subscribeWith } from '@hug import { merge } from 'lodash-es'; import { debounceTime, delay, EMPTY, filter, fromEvent, map, mergeWith, Observable, shareReplay, Subject, switchMap, tap, withLatestFrom } from 'rxjs'; -import { NgxTooltipComponentInterface } from './tooltip-component.interface'; import { NgxTooltipConfig } from './tooltip.model'; +import { NgxTooltipComponentInterface } from './tooltip-component.interface'; export abstract class NgxTooltipService { protected close$ = new Subject();