refactor(TypeScript): Add noImplicitAny
We automatically insert explicit 'any's where needed. These need to be addressed as in #9100. Fixes #4924
This commit is contained in:
@ -7,11 +7,11 @@ class GesturesCmp {
|
||||
pinchScale: number = 1;
|
||||
rotateAngle: number = 0;
|
||||
|
||||
onSwipe(event): void { this.swipeDirection = event.deltaX > 0 ? 'right' : 'left'; }
|
||||
onSwipe(event: any /** TODO #9100 */): void { this.swipeDirection = event.deltaX > 0 ? 'right' : 'left'; }
|
||||
|
||||
onPinch(event): void { this.pinchScale = event.scale; }
|
||||
onPinch(event: any /** TODO #9100 */): void { this.pinchScale = event.scale; }
|
||||
|
||||
onRotate(event): void { this.rotateAngle = event.rotation; }
|
||||
onRotate(event: any /** TODO #9100 */): void { this.rotateAngle = event.rotation; }
|
||||
}
|
||||
|
||||
export function main() {
|
||||
|
Reference in New Issue
Block a user