chore(tslint): fix noImplicitAny errors

This commit is contained in:
Adam Bradley
2016-05-31 18:40:29 -05:00
parent f14e2dc04b
commit 03f4511635
21 changed files with 92 additions and 93 deletions

View File

@ -360,7 +360,7 @@ export class Animation {
_asyncEnd(duration: number, shouldComplete: boolean) {
var self = this;
function onTransitionEnd(ev) {
function onTransitionEnd(ev: any) {
console.debug('Animation onTransitionEnd', ev.target.nodeName, ev.propertyName);
// ensure transition end events and timeouts have been cleared
@ -817,7 +817,7 @@ interface EffectState {
unit: string;
}
const TRANSFORMS = {
const TRANSFORMS: any = {
'translateX': 1, 'translateY': 1, 'translateZ': 1,
'scale': 1, 'scaleX': 1, 'scaleY': 1, 'scaleZ': 1,
'rotate': 1, 'rotateX': 1, 'rotateY': 1, 'rotateZ': 1,

View File

@ -3,7 +3,7 @@ import {Animation} from './animation';
class SlideIn extends Animation {
constructor(element) {
constructor(element: any) {
super(element);
this
.easing('cubic-bezier(0.1,0.7,0.1,1)')
@ -15,7 +15,7 @@ Animation.register('slide-in', SlideIn);
class SlideOut extends Animation {
constructor(element) {
constructor(element: any) {
super(element);
this
.easing('ease-out')
@ -27,7 +27,7 @@ Animation.register('slide-out', SlideOut);
class FadeIn extends Animation {
constructor(element) {
constructor(element: any) {
super(element);
this
.easing('ease-in')
@ -39,7 +39,7 @@ Animation.register('fade-in', FadeIn);
class FadeOut extends Animation {
constructor(element) {
constructor(element: any) {
super(element);
this
.easing('ease-out')