Chrome Typescript调试引用错误'this'

Hom*_*mer 6 debugging google-chrome-devtools typescript

有时当我在Chrome开发者工具中遇到断点时,TypeScript this实际上是_this在JavaScript中.我必须手动放入_this控制台才能看到实际使用的内容.有没有办法来解决这个问题?

bas*_*rat 13

TypeScript在JavaScript中实际上是_this

这是由于源图中的错误.您可以在此处跟踪:https://github.com/Microsoft/TypeScript/issues/2859