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

@ -6,27 +6,27 @@ import { Config } from '../../index';
})
export class RefresherContent {
@Prop({ context: 'config' }) config: Config;
@Prop({ context: 'config' }) config!: Config;
/**
* A static icon to display when you begin to pull down
*/
@Prop({ mutable: true }) pullingIcon: string;
@Prop({ mutable: true }) pullingIcon?: string;
/**
* The text you want to display when you begin to pull down
*/
@Prop() pullingText: string;
@Prop() pullingText?: string;
/**
* An animated SVG spinner that shows when refreshing begins
*/
@Prop({ mutable: true }) refreshingSpinner: string;
@Prop({ mutable: true }) refreshingSpinner?: string;
/**
* The text you want to display when performing a refresh
*/
@Prop() refreshingText: string;
@Prop() refreshingText?: string;
protected componentDidLoad() {