refactor(all): enable strictPropertyInitialization

This commit is contained in:
Manu Mtz.-Almeida
2018-04-19 18:48:38 +02:00
parent 78bd146ad2
commit 4ea8881f33
129 changed files with 1513 additions and 1664 deletions

View File

@ -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() {