‘this’ implicitly has type ‘any’ because it does not have a type annotation.

raphael의 element에 click시 event 연동 구현시 위와 같은 error 발생

click시 event 구현 code는 아래 처럼

this.ele.click(function(){
    console.log("test click::x=%d, y=%d", x, y);
    this.attr({fill : '#0F0'});
})

click event 첫번째 parameter로 element를 전달하기에 this를 any로 명시 필요


this.ele.click(function(this : any){
    console.log("test click::x=%d, y=%d", x, y);
    this.attr({fill : '#0F0'});
})

위와 같이 수정 후 해결