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

@ -14,17 +14,17 @@ import { Config } from '../../index';
})
export class InfiniteScrollContent {
@Prop({ context: 'config' }) config: Config;
@Prop({ context: 'config' }) config!: Config;
/**
* An animated SVG spinner that shows while loading.
*/
@Prop({ mutable: true }) loadingSpinner: string;
@Prop({ mutable: true }) loadingSpinner?: string;
/**
* Optional text to display while loading.
*/
@Prop() loadingText: string;
@Prop() loadingText?: string;
componentDidLoad() {