Skip to content

Commit

Permalink
fix: 馃悰 lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
avivharuzi committed Jun 10, 2022
1 parent 00ef893 commit 80c704a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ngx-glide/src/lib/ngx-glide.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class NgxGlideComponent implements OnChanges, AfterViewInit, OnDestroy {
if (!Object.prototype.hasOwnProperty.call(defaultSettings, key)) {
continue;
}
const change: SimpleChange = changes[key];
const change = changes[key] as SimpleChange;
if (change.previousValue !== change.currentValue) {
settings[key] = change.currentValue;
}
Expand Down Expand Up @@ -199,6 +199,7 @@ export class NgxGlideComponent implements OnChanges, AfterViewInit, OnDestroy {
return this.glide && this.glide.index;
}

// noinspection JSUnusedGlobalSymbols
getSettings(): Settings {
return this.glide && this.glide.settings;
}
Expand Down Expand Up @@ -255,6 +256,7 @@ export class NgxGlideComponent implements OnChanges, AfterViewInit, OnDestroy {
}
}

// noinspection JSUnusedGlobalSymbols
disable(): void {
if (this.glide) {
this.glide.disable();
Expand Down

0 comments on commit 80c704a

Please sign in to comment.