Skip to content

Commit 34ed0d1

Browse files
committed
refactor(modal): types update
1 parent 8a9ee67 commit 34ed0d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

projects/coreui-angular/src/lib/modal/modal/modal.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
8989
* @type boolean
9090
* @default true
9191
*/
92-
@Input({ transform: booleanAttribute }) keyboard = true;
92+
@Input({ transform: booleanAttribute }) keyboard: boolean = true;
9393
@Input() id?: string;
9494
/**
9595
* Size the component small, large, or extra large.
@@ -104,8 +104,7 @@ export class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
104104
* @type string
105105
* @default 'dialog'
106106
*/
107-
@Input() @HostBinding('attr.role') role = 'dialog';
108-
107+
@Input() @HostBinding('attr.role') role: string = 'dialog';
109108
/**
110109
* Set aria-modal html attr for modal. [docs]
111110
* @type boolean

0 commit comments

Comments
 (0)