mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
refactor(all): enable strictPropertyInitialization
This commit is contained in:
@ -10,9 +10,9 @@ import { Side, isRightSide } from '../../utils/helpers';
|
||||
}
|
||||
})
|
||||
export class ItemOptions {
|
||||
@Element() private el: HTMLElement;
|
||||
@Element() el!: HTMLElement;
|
||||
|
||||
@Prop({ context: 'window' }) win: Window;
|
||||
@Prop({ context: 'window' }) win!: Window;
|
||||
|
||||
/**
|
||||
* The side the option button should be on.
|
||||
@ -25,7 +25,7 @@ export class ItemOptions {
|
||||
/**
|
||||
* Emitted when the item has been fully swiped.
|
||||
*/
|
||||
@Event() ionSwipe: EventEmitter;
|
||||
@Event() ionSwipe!: EventEmitter;
|
||||
|
||||
@Method()
|
||||
isRightSide() {
|
||||
|
Reference in New Issue
Block a user