mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
refactor(all): enable strictPropertyInitialization
This commit is contained in:
@ -15,7 +15,7 @@ export class Backdrop {
|
||||
|
||||
private lastClick = -10000;
|
||||
|
||||
@Prop({ context: 'document' }) doc: Document;
|
||||
@Prop({ context: 'document' }) doc!: Document;
|
||||
|
||||
/**
|
||||
* If true, the backdrop will be visible. Defaults to `true`.
|
||||
@ -35,7 +35,7 @@ export class Backdrop {
|
||||
/**
|
||||
* Emitted when the backdrop is tapped.
|
||||
*/
|
||||
@Event() ionBackdropTap: EventEmitter;
|
||||
@Event() ionBackdropTap!: EventEmitter;
|
||||
|
||||
componentDidLoad() {
|
||||
registerBackdrop(this.doc, this);
|
||||
|
Reference in New Issue
Block a user