mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(tslint): fix noImplicitAny errors
This commit is contained in:
@ -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,
|
||||
|
@ -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')
|
||||
|
Reference in New Issue
Block a user