Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed May 14, 2023
1 parent 9463962 commit 88ab72f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TestBed, waitForAsync } from '@angular/core/testing';
Expand Down
1 change: 0 additions & 1 deletion src/app/home/home.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TestBed, waitForAsync } from '@angular/core/testing';
Expand Down
3 changes: 1 addition & 2 deletions src/lib/overlay/overlay.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { DOCUMENT } from '@angular/common';
import { ApplicationRef, ComponentFactoryResolver, inject, Inject, Injectable } from '@angular/core';
import { ApplicationRef, ComponentFactoryResolver, inject, Injectable } from '@angular/core';

import { DomPortalHost } from '../portal/dom-portal-host';
import { ToastContainerDirective } from '../toastr/toast.directive';
Expand Down
1 change: 0 additions & 1 deletion src/lib/portal/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from '@angular/core';

export interface ComponentType<T> {
// eslint-disable-next-line @typescript-eslint/prefer-function-type
new (...args: any[]): T;
}

Expand Down
1 change: 0 additions & 1 deletion src/lib/toastr/toastr-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export class ToastPackage<ConfigPayload = any> {
}
}

/* eslint-disable @typescript-eslint/no-empty-interface */
/** @deprecated use GlobalConfig */
export interface GlobalToastrConfig extends GlobalConfig {}
/** @deprecated use IndividualConfig */
Expand Down

0 comments on commit 88ab72f

Please sign in to comment.