Skip to content

Commit 4531747

Browse files
committed
refactor: Declare missing interfaces
1 parent 128aa16 commit 4531747

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

angular/src/shared/directives/block.directive.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import {
55
Injectable,
66
HostListener,
77
Input,
8-
SimpleChanges
8+
SimpleChanges,
9+
OnChanges
910
} from '@angular/core';
1011

1112
@Directive({
1213
selector: '[block]'
1314
})
1415
@Injectable()
15-
export class BlockDirective implements AfterViewInit {
16+
export class BlockDirective implements AfterViewInit, OnChanges {
1617
@Input('block') loading: boolean;
1718
private $element: JQuery;
1819

angular/src/shared/directives/busy.directive.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import {
55
Injectable,
66
HostListener,
77
Input,
8-
SimpleChanges
8+
SimpleChanges,
9+
OnChanges
910
} from '@angular/core';
1011

1112
@Directive({
1213
selector: '[busy]'
1314
})
1415
@Injectable()
15-
export class BusyDirective implements AfterViewInit {
16+
export class BusyDirective implements AfterViewInit, OnChanges {
1617
@Input('busy') loading: boolean;
1718
private $element: JQuery;
1819

0 commit comments

Comments
 (0)