chore(): update to ionic-rules/strict

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 23:10:26 +02:00
parent 7292fc7d38
commit c1b61d0fee
148 changed files with 354 additions and 407 deletions

View File

@ -1,10 +1,10 @@
import { Component, Element, Event, EventEmitter, Prop, State, Watch } from '@stencil/core';
import { CheckboxInput, CheckedInputChangeEvent, Color, GestureDetail, Mode, StyleEvent } from '../../interface';
import { hapticSelection } from '../../utils/haptic';
import { deferEvent, renderHiddenInput } from '../../utils/helpers';
import { createColorClasses, hostContext } from '../../utils/theme';
@Component({
tag: 'ion-toggle',
styleUrls: {
@ -77,7 +77,6 @@ export class Toggle implements CheckboxInput {
*/
@Event() ionStyle!: EventEmitter<StyleEvent>;
@Watch('checked')
checkedChanged(isChecked: boolean) {
this.ionChange.emit({