Typescriptバージョンアップしたら、_thisが重複のエラーのビルドエラーが発生
** error TS2400: Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.
2 **
1.8で問題ないですが、2.0にしたら、_this重複のエラーが出ています。
原因はアロー関数をかくと、thisを自動的に_thisに置換するそうです。(2.0から?)
[http://stackoverflow.com/questions/12710303/should-creating-a-variable-named-this-conflict-with-this]
とりあえず、Sublime設定のtypescript_tsdkを1.8に設定して、ビルドエラー出なくなりました。
そもそも_thisを使わないほうがいいですね。