Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrt committed Sep 9, 2024
1 parent 5213c93 commit d370d66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/core/src/services/lazy-loader.service.ts
Original file line number Diff line number Diff line change
@@ -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<T> {
Expand Down
2 changes: 1 addition & 1 deletion projects/core/src/services/media.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class NgxMediaService implements OnDestroy {
public mql = {} as Record<string, MediaQueryList>;

private zone = inject(NgZone);
private mediaDefinitions? = inject<Array<NgxMediaQueryDefinition>>(mediaQueryDefinitions, { optional: true });
private mediaDefinitions? = inject<NgxMediaQueryDefinition[]>(mediaQueryDefinitions, { optional: true });


public constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<readonly (string | RegExp)[]>('ACCEPTED_NON_DATE_VALUES');
Expand Down
2 changes: 1 addition & 1 deletion projects/tooltip/src/tooltip.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<D> {
protected close$ = new Subject<void>();
Expand Down

0 comments on commit d370d66

Please sign in to comment.