Minor code and style fixes (#5398)

* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
This commit is contained in:
Denys Vuika
2020-02-09 22:03:32 +00:00
committed by GitHub
parent 3459c98bd0
commit a0926a38d8
74 changed files with 171 additions and 71 deletions

View File

@@ -23,7 +23,8 @@ import { CoreModule } from '../core.module';
import { TestBed } from '@angular/core/testing';
@Component({
selector: 'adf-text-subject'
selector: 'adf-text-subject',
template: ''
})
class TestComponent implements NodeAllowableOperationSubject {
disabled: boolean = false;

View File

@@ -34,7 +34,7 @@ export class RestoreMessageModel {
selector: '[adf-restore]'
})
export class NodeRestoreDirective {
private restoreProcessStatus;
private readonly restoreProcessStatus;
/** Array of deleted nodes to restore. */
@Input('adf-restore')