mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
refactor(all): enable strictPropertyInitialization
This commit is contained in:
@ -10,7 +10,7 @@ export class ModalController implements OverlayController {
|
||||
|
||||
private modals = new Map<number, HTMLIonModalElement>();
|
||||
|
||||
@Prop({ context: 'document' }) doc: Document;
|
||||
@Prop({ context: 'document' }) doc!: Document;
|
||||
|
||||
@Listen('body:ionModalWillPresent')
|
||||
protected modalWillPresent(ev: any) {
|
||||
|
Reference in New Issue
Block a user