docs(download): fix lint

This commit is contained in:
d.strigo 2020-07-10 13:02:28 +03:00
parent 70c407dac4
commit 2690745f97

View file

@ -4,8 +4,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*/ */
import { AfterViewInit, Component, Inject } from '@angular/core'; import { AfterViewInit, Component } from '@angular/core';
import { NB_WINDOW, NbDialogRef } from '@nebular/theme'; import { NbDialogRef } from '@nebular/theme';
@Component({ @Component({
selector: 'ngx-download-form', selector: 'ngx-download-form',
@ -14,8 +14,7 @@ import { NB_WINDOW, NbDialogRef } from '@nebular/theme';
}) })
export class DownloadFormComponent implements AfterViewInit { export class DownloadFormComponent implements AfterViewInit {
constructor(@Inject(NB_WINDOW) private window, constructor(protected ref: NbDialogRef<DownloadFormComponent>) {
protected ref: NbDialogRef<DownloadFormComponent>) {
} }
ngAfterViewInit() { ngAfterViewInit() {