chore(lint): fix all code that doesn't pass tslint

* chore(lint): update to work with newer tslint

* chore(lint): fix all code that doesnt pass tslint

fix all code that doesnt pass tslint
This commit is contained in:
Dan Bucholtz
2017-07-05 16:21:55 -05:00
committed by GitHub
parent eb830d4202
commit efd54750bf
162 changed files with 626 additions and 470 deletions

View File

@@ -1,6 +1,6 @@
import { Toggle } from '../toggle';
import { mockConfig, mockPlatform, mockHaptic, mockElementRef, mockGestureController, mockRenderer, mockItem, mockForm, mockZone } from '../../../util/mock-providers';
import { commonInputTest, BOOLEAN_CORPUS } from '../../../util/input-tester';
import { mockConfig, mockElementRef, mockForm, mockGestureController, mockHaptic, mockItem, mockPlatform, mockRenderer, mockZone } from '../../../util/mock-providers';
import { BOOLEAN_CORPUS, commonInputTest } from '../../../util/input-tester';
describe('Toggle', () => {

View File

@@ -1,4 +1,4 @@
import { GestureController, GESTURE_PRIORITY_TOGGLE, GESTURE_TOGGLE } from '../../gestures/gesture-controller';
import { GESTURE_PRIORITY_TOGGLE, GESTURE_TOGGLE, GestureController } from '../../gestures/gesture-controller';
import { DomController } from '../../platform/dom-controller';
import { PanGesture } from '../../gestures/pan-gesture';
import { Platform } from '../../platform/platform';

View File

@@ -1,4 +1,4 @@
import { AfterContentInit, NgZone, Component, ElementRef, HostListener, Input, OnDestroy, Optional, Renderer, ViewEncapsulation } from '@angular/core';
import { AfterContentInit, Component, ElementRef, HostListener, Input, NgZone, OnDestroy, Optional, Renderer, ViewEncapsulation } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { Config } from '../../config/config';